aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvmc2
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-05-30 06:28:37 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-05-30 06:28:37 +0000
commite5fcb558efb127da4bae120ee951fa51cdfc211e (patch)
tree96abebe7ef42cc6f3ad022a70a1fae3401919681 /tools/llvmc2
parent75ade50b1797016a9c7bc709727d7232f971be62 (diff)
downloadexternal_llvm-e5fcb558efb127da4bae120ee951fa51cdfc211e.zip
external_llvm-e5fcb558efb127da4bae120ee951fa51cdfc211e.tar.gz
external_llvm-e5fcb558efb127da4bae120ee951fa51cdfc211e.tar.bz2
Add a check for side effect-free options (specified only in the OptionList).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51759 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc2')
-rw-r--r--tools/llvmc2/llvmc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/llvmc2/llvmc.cpp b/tools/llvmc2/llvmc.cpp
index 9580717..ba2d70a 100644
--- a/tools/llvmc2/llvmc.cpp
+++ b/tools/llvmc2/llvmc.cpp
@@ -32,6 +32,9 @@ using namespace llvmc;
// Built-in command-line options.
// External linkage here is intentional.
+// TOFIX: Add a --keep-temps option.
+// TOFIX: Write a 'driver driver' (easier to do as a separate
+// executable that drives llvmc2 proper).
cl::list<std::string> InputFilenames(cl::Positional, cl::desc("<input file>"),
cl::ZeroOrMore);
cl::opt<std::string> OutputFilename("o", cl::desc("Output file name"),