aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/TableGen.cpp
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-08-13 20:08:53 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-08-13 20:08:53 +0000
commitcb5d3ef88281057c81436e40bf9b43b720425b6f (patch)
treedb143e47f20e71f545d43ca1647840d10d4df56c /utils/TableGen/TableGen.cpp
parentef0bedaba7c1466af4275e720a73f3421b9b5631 (diff)
Revert r111007.
Apparently, this is now fixed in Clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111032 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 cc784103e3..ebd163d265 100644
--- a/utils/TableGen/TableGen.cpp
+++ b/utils/TableGen/TableGen.cpp
@@ -146,6 +146,9 @@ 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);
@@ -158,9 +161,6 @@ 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;