diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2010-01-01 04:41:10 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2010-01-01 04:41:10 +0000 |
commit | 99da5d7bbaf161acb038dc7321db6c6dbe289395 (patch) | |
tree | bea61d5e068ecb2c9fd587e088a0689e5275db47 /tools/llvmc | |
parent | b7935e00ebc9627795c6a4245b6181982bf351b7 (diff) | |
download | external_llvm-99da5d7bbaf161acb038dc7321db6c6dbe289395.zip external_llvm-99da5d7bbaf161acb038dc7321db6c6dbe289395.tar.gz external_llvm-99da5d7bbaf161acb038dc7321db6c6dbe289395.tar.bz2 |
Minor simplifactions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92393 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc')
-rw-r--r-- | tools/llvmc/plugins/Base/Base.td.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvmc/plugins/Base/Base.td.in b/tools/llvmc/plugins/Base/Base.td.in index 7262372..c7ba3be 100644 --- a/tools/llvmc/plugins/Base/Base.td.in +++ b/tools/llvmc/plugins/Base/Base.td.in @@ -124,9 +124,9 @@ class llvm_gcc_based <string cmd_prefix, string in_lang, string E_ext> : Tool< (and (multiple_input_files), (or (switch_on "S"), (switch_on "c"))), (error "cannot specify -o with -c or -S with multiple files"), (switch_on "E"), [(stop_compilation), (output_suffix E_ext)], - (and (switch_on "emit-llvm"), (switch_on "S")), + (switch_on ["emit-llvm", "S"]), [(output_suffix "ll"), (stop_compilation)], - (and (switch_on "emit-llvm"), (switch_on "c")), (stop_compilation), + (switch_on ["emit-llvm", "c"]), (stop_compilation), (switch_on "fsyntax-only"), (stop_compilation), (not_empty "include"), (forward "include"), (not_empty "save-temps"), (append_cmd "-save-temps"), |