summaryrefslogtreecommitdiff
path: root/tools/llvmc2
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-05-30 06:24:07 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-05-30 06:24:07 +0000
commit92b8da75a1bed2f70079e970883b4e69e99d2330 (patch)
tree446ab37f1a4175b35bcf53eef8f3174ee1319966 /tools/llvmc2
parent34f376281f0bf013a6a0559193e17074e3d3647b (diff)
downloadllvm-92b8da75a1bed2f70079e970883b4e69e99d2330.tar.gz
llvm-92b8da75a1bed2f70079e970883b4e69e99d2330.tar.bz2
llvm-92b8da75a1bed2f70079e970883b4e69e99d2330.tar.xz
Make it possible to test if the '-o' option is provided.
The following is now allowed: (case (not_empty "o"), do_something, ...) This didn't work previously because "-o" is built-in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51751 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc2')
-rw-r--r--tools/llvmc2/AutoGenerated.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/llvmc2/AutoGenerated.cpp b/tools/llvmc2/AutoGenerated.cpp
index 213db01e0b..30aeb8f75e 100644
--- a/tools/llvmc2/AutoGenerated.cpp
+++ b/tools/llvmc2/AutoGenerated.cpp
@@ -29,5 +29,7 @@ namespace llvmc {
extern const std::string& GetLanguage(const sys::Path& File);
}
+extern cl::opt<std::string> OutputFilename;
+
// The auto-generated file
#include "AutoGenerated.inc"