diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2010-02-23 09:04:28 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2010-02-23 09:04:28 +0000 |
commit | be6ee7c116f8f768a180df6eba6799a6660722e7 (patch) | |
tree | 3006b1eabe59ac0a33431d2652591636c7019d98 /include | |
parent | 9f2a0802e548d07946e6ad47cb06b53c105bdb65 (diff) | |
download | external_llvm-be6ee7c116f8f768a180df6eba6799a6660722e7.tar.gz external_llvm-be6ee7c116f8f768a180df6eba6799a6660722e7.tar.bz2 external_llvm-be6ee7c116f8f768a180df6eba6799a6660722e7.zip |
New experimental/undocumented feature: 'works_on_empty'.
For now, just enough support to make -filelist work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96918 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CompilerDriver/Common.td | 1 | ||||
-rw-r--r-- | include/llvm/CompilerDriver/Tool.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/CompilerDriver/Common.td b/include/llvm/CompilerDriver/Common.td index 3ae77aeadf..aa15482cfa 100644 --- a/include/llvm/CompilerDriver/Common.td +++ b/include/llvm/CompilerDriver/Common.td @@ -23,6 +23,7 @@ def output_suffix; def cmd_line; def join; def sink; +def works_on_empty; def actions; // Possible option types. diff --git a/include/llvm/CompilerDriver/Tool.h b/include/llvm/CompilerDriver/Tool.h index a982e2d397..6fc0ae6391 100644 --- a/include/llvm/CompilerDriver/Tool.h +++ b/include/llvm/CompilerDriver/Tool.h @@ -28,7 +28,7 @@ namespace llvmc { typedef std::vector<llvm::sys::Path> PathVector; typedef llvm::StringSet<> InputLanguagesSet; - /// Tool - A class + /// Tool - Represents a single tool. class Tool : public llvm::RefCountedBaseVPTR<Tool> { public: @@ -51,6 +51,7 @@ namespace llvmc { virtual const char* OutputLanguage() const = 0; virtual bool IsJoin() const = 0; + virtual bool WorksOnEmpty() const = 0; protected: /// OutFileName - Generate the output file name. |