mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-29 22:30:33 +00:00
Fix namespace polution.
llvm-svn: 110056
This commit is contained in:
parent
555c1105a5
commit
213f64b54c
@ -29,9 +29,9 @@ using namespace llvm;
|
||||
|
||||
// Always verify if expensive checking is enabled.
|
||||
#ifdef XDEBUG
|
||||
bool VerifyRegionInfo = true;
|
||||
static bool VerifyRegionInfo = true;
|
||||
#else
|
||||
bool VerifyRegionInfo = false;
|
||||
static bool VerifyRegionInfo = false;
|
||||
#endif
|
||||
|
||||
static cl::opt<bool,true>
|
||||
|
@ -151,6 +151,8 @@ char RegionPrinter::ID = 0;
|
||||
INITIALIZE_PASS(RegionPrinter, "dot-regions",
|
||||
"Print regions of function to 'dot' file", true, true);
|
||||
|
||||
namespace {
|
||||
|
||||
struct RegionOnlyPrinter
|
||||
: public DOTGraphTraitsPrinter<RegionInfo, true> {
|
||||
static char ID;
|
||||
@ -158,6 +160,8 @@ struct RegionOnlyPrinter
|
||||
DOTGraphTraitsPrinter<RegionInfo, true>("reg", &ID) {}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
char RegionOnlyPrinter::ID = 0;
|
||||
INITIALIZE_PASS(RegionOnlyPrinter, "dot-regions-only",
|
||||
"Print regions of function to 'dot' file "
|
||||
|
Loading…
Reference in New Issue
Block a user