summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-07 22:27:19 +0000
committerChris Lattner <sabre@nondot.org>2009-08-07 22:27:19 +0000
commit83eb9b0b0128388cbe1b6541abeb1aca5b5da2e1 (patch)
tree86daa1ec9e44466e0bbb99a91ca42e3ca5eefd63 /llvm/utils/TableGen
parent5333a7b8c55f5d46383666e775fcc2a7361c9abb (diff)
downloadbcm5719-llvm-83eb9b0b0128388cbe1b6541abeb1aca5b5da2e1.tar.gz
bcm5719-llvm-83eb9b0b0128388cbe1b6541abeb1aca5b5da2e1.zip
strength reduce anonymous namespace to static.
llvm-svn: 78417
Diffstat (limited to 'llvm/utils/TableGen')
-rw-r--r--llvm/utils/TableGen/DAGISelEmitter.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/utils/TableGen/DAGISelEmitter.cpp b/llvm/utils/TableGen/DAGISelEmitter.cpp
index 0802483c8ad..72c9510d258 100644
--- a/llvm/utils/TableGen/DAGISelEmitter.cpp
+++ b/llvm/utils/TableGen/DAGISelEmitter.cpp
@@ -23,11 +23,8 @@
#include <iostream>
using namespace llvm;
-namespace {
- cl::opt<bool>
- GenDebug("gen-debug", cl::desc("Generate debug code"),
- cl::init(false));
-}
+static cl::opt<bool>
+GenDebug("gen-debug", cl::desc("Generate debug code"), cl::init(false));
//===----------------------------------------------------------------------===//
// DAGISelEmitter Helper methods
OpenPOWER on IntegriCloud