diff options
author | Eric Christopher <echristo@gmail.com> | 2015-01-30 18:22:23 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2015-01-30 18:22:23 +0000 |
commit | 58c2199cefc27f19e3f6e71010a2febc8e46966f (patch) | |
tree | 065a9610698ca10de291fc765e57e4d6e3c42b89 /clang/lib/Driver/Tools.cpp | |
parent | b9a53f05f1a0251c594f2d32c1504a298b694a64 (diff) | |
download | llvm-58c2199cefc27f19e3f6e71010a2febc8e46966f.zip llvm-58c2199cefc27f19e3f6e71010a2febc8e46966f.tar.gz llvm-58c2199cefc27f19e3f6e71010a2febc8e46966f.tar.bz2 |
Fix regression in r227409 where we were passing -fsyntax-only
in all cases.
Patch by Artem Belevich.
llvm-svn: 227591
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index ceb6775..512aad2 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -5166,6 +5166,7 @@ void gcc::Compile::RenderExtraToolArgs(const JobAction &JA, break; case types::TY_PP_Asm: CmdArgs.push_back("-S"); + break; case types::TY_Nothing: CmdArgs.push_back("-fsyntax-only"); break; |