diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-30 06:24:07 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-30 06:24:07 +0000 |
commit | 92b8da75a1bed2f70079e970883b4e69e99d2330 (patch) | |
tree | 446ab37f1a4175b35bcf53eef8f3174ee1319966 /tools | |
parent | 34f376281f0bf013a6a0559193e17074e3d3647b (diff) | |
download | external_llvm-92b8da75a1bed2f70079e970883b4e69e99d2330.zip external_llvm-92b8da75a1bed2f70079e970883b4e69e99d2330.tar.gz external_llvm-92b8da75a1bed2f70079e970883b4e69e99d2330.tar.bz2 |
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')
-rw-r--r-- | tools/llvmc2/AutoGenerated.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/llvmc2/AutoGenerated.cpp b/tools/llvmc2/AutoGenerated.cpp index 213db01..30aeb8f 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" |