mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 20:44:51 +00:00
Minor simplifactions.
llvm-svn: 92393
This commit is contained in:
parent
3a5fc21b12
commit
82242fb2a8
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user