forked from OSchip/llvm-project
Direct declaration of namespace-ified globals does not work, must enclose
them with a namespace declaration. llvm-svn: 14303
This commit is contained in:
parent
d0bf6f17d1
commit
96041e58b9
|
@ -21,9 +21,10 @@ using namespace llvm;
|
|||
// Command-line options that tend to be useful on more than one back-end.
|
||||
//
|
||||
|
||||
bool llvm::PrintMachineCode;
|
||||
bool llvm::NoFramePointerElim;
|
||||
|
||||
namespace llvm {
|
||||
bool PrintMachineCode;
|
||||
bool NoFramePointerElim;
|
||||
};
|
||||
namespace {
|
||||
cl::opt<bool, true> PrintCode("print-machineinstrs",
|
||||
cl::desc("Print generated machine code"),
|
||||
|
|
Loading…
Reference in New Issue