aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/TableGen.cpp
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-08-13 06:02:45 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-08-13 06:02:45 +0000
commitaa1a373a66fdc9602baa01b5405f6da69b3588f2 (patch)
tree5b865fb76c07dcd87433099ead210f52756b039a /utils/TableGen/TableGen.cpp
parent2e58b0055d8f8fc589d8a33293f84dbecad7151c (diff)
Add a workaround for building with Clang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111007 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/TableGen.cpp')
-rw-r--r--utils/TableGen/TableGen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp
index ebd163d265..cc784103e3 100644
--- a/utils/TableGen/TableGen.cpp
+++ b/utils/TableGen/TableGen.cpp
@@ -146,9 +146,6 @@ namespace {
OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"),
cl::init("-"));
- cl::opt<std::string>
- InputFilename(cl::Positional, cl::desc("<input file>"), cl::init("-"));
-
cl::list<std::string>
IncludeDirs("I", cl::desc("Directory of include files"),
cl::value_desc("directory"), cl::Prefix);
@@ -161,6 +158,9 @@ namespace {
// FIXME: Eliminate globals from tblgen.
+cl::opt<std::string>
+InputFilename(cl::Positional, cl::desc("<input file>"), cl::init("-"));
+
RecordKeeper llvm::Records;
static SourceMgr SrcMgr;