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

them with a namespace declaration.

llvm-svn: 14303
This commit is contained in:
Misha Brukman 2004-06-21 21:44:12 +00:00
parent d0bf6f17d1
commit 96041e58b9
1 changed files with 4 additions and 3 deletions

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