Direct declaration of namespace-ified globals does not work, must enclose

them with a namespace declaration.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14303 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2004-06-21 21:44:12 +00:00
parent 53594deff4
commit f90e402af8

View File

@ -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"),