projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53594de
)
Direct declaration of namespace-ified globals does not work, must enclose
author
Misha Brukman
<brukman+llvm@gmail.com>
Mon, 21 Jun 2004 21:44:12 +0000
(21:44 +0000)
committer
Misha Brukman
<brukman+llvm@gmail.com>
Mon, 21 Jun 2004 21:44:12 +0000
(21:44 +0000)
them with a namespace declaration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14303
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/TargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/TargetMachine.cpp
b/lib/Target/TargetMachine.cpp
index 8e114fc0b271f5f3bc14862c2148ee18a037634d..d71bd3f9542f0bdbf0f710297c0d7720ff37eb49 100644
(file)
--- a/
lib/Target/TargetMachine.cpp
+++ b/
lib/Target/TargetMachine.cpp
@@
-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"),