summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-01-01 04:41:10 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-01-01 04:41:10 +0000
commit8a52b7752300fab84317e19cc61a57c825b8c38d (patch)
tree3199833415a0966e4dba400487a9f685daaa5bd9 /llvm/tools/llvmc
parent9b0afc36a807910c7d157d96dc709735ec6df8f9 (diff)
downloadbcm5719-llvm-8a52b7752300fab84317e19cc61a57c825b8c38d.tar.gz
bcm5719-llvm-8a52b7752300fab84317e19cc61a57c825b8c38d.zip
Minor simplifactions.
llvm-svn: 92393
Diffstat (limited to 'llvm/tools/llvmc')
-rw-r--r--llvm/tools/llvmc/plugins/Base/Base.td.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvmc/plugins/Base/Base.td.in b/llvm/tools/llvmc/plugins/Base/Base.td.in
index 72623721cdb..c7ba3be3b8f 100644
--- a/llvm/tools/llvmc/plugins/Base/Base.td.in
+++ b/llvm/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"),
OpenPOWER on IntegriCloud