summaryrefslogtreecommitdiff
path: root/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
commit3d4ad297c1a094ad1c7ea97f7b312f10946c998b (patch)
tree1589cdd9f5ad00b6f06ca6549c92bb604c69d190 /utils/TableGen
parent23510d36ac5af80f7a47df64b4614b54d6a078c9 (diff)
downloadllvm-3d4ad297c1a094ad1c7ea97f7b312f10946c998b.tar.gz
llvm-3d4ad297c1a094ad1c7ea97f7b312f10946c998b.tar.bz2
llvm-3d4ad297c1a094ad1c7ea97f7b312f10946c998b.tar.xz
strength reduce anonymous namespace to static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78417 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r--utils/TableGen/DAGISelEmitter.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp
index 0802483c8a..72c9510d25 100644
--- a/utils/TableGen/DAGISelEmitter.cpp
+++ b/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