diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-30 06:15:20 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-30 06:15:20 +0000 |
commit | 37f509a70c581605b66d86a358b64e37d77ea251 (patch) | |
tree | 5f8437a83fba10081a59c0db67dd9f979414524e /tools/llvmc2 | |
parent | cd0858e170206bac5444e964141a57b42514d260 (diff) | |
download | external_llvm-37f509a70c581605b66d86a358b64e37d77ea251.zip external_llvm-37f509a70c581605b66d86a358b64e37d77ea251.tar.gz external_llvm-37f509a70c581605b66d86a358b64e37d77ea251.tar.bz2 |
Do not generate empty 'if's for the output_suffix property.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc2')
-rw-r--r-- | tools/llvmc2/Tools.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvmc2/Tools.td b/tools/llvmc2/Tools.td index 42060e3..ae60874 100644 --- a/tools/llvmc2/Tools.td +++ b/tools/llvmc2/Tools.td @@ -27,7 +27,7 @@ def llvm_gcc_c : Tool< (output_suffix "bc"), (cmd_line (case (switch_on "E"), - "llvm-g++ -E -x c $INFILE -o $OUTFILE -emit-llvm", + "llvm-g++ -E -x c $INFILE -o $OUTFILE", (default), "llvm-g++ -c -x c $INFILE -o $OUTFILE -emit-llvm")), (switch_option "E", (stop_compilation),(output_suffix "i"), @@ -41,7 +41,7 @@ def llvm_gcc_cpp : Tool< (output_suffix "bc"), (cmd_line (case (switch_on "E"), - "llvm-g++ -E -x c++ $INFILE -o $OUTFILE -emit-llvm", + "llvm-g++ -E -x c++ $INFILE -o $OUTFILE", (default), "llvm-g++ -c -x c++ $INFILE -o $OUTFILE -emit-llvm")), (switch_option "E", (stop_compilation), (output_suffix "i")), |