diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-17 00:47:53 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-17 00:47:53 +0000 |
commit | e3b8d07e02861d245612b02b5f5a2c1f34b2a394 (patch) | |
tree | 4bf391705d522ca6e4359039a66a1b8dd8f90114 /lib | |
parent | 13fdf289683ff7d44da1da921792bdd6f09e5758 (diff) |
We don't need a -compile-ast clang-cc action, we can just use -S.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82105 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Driver/Tools.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index da533f16bd..13d9923c17 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -512,10 +512,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, } else if (JA.getType() == types::TY_LLVMBC) { CmdArgs.push_back("-emit-llvm-bc"); } else if (JA.getType() == types::TY_PP_Asm) { - if (Inputs[0].getType() == types::TY_AST) - CmdArgs.push_back("-compile-ast"); - else - CmdArgs.push_back("-S"); + CmdArgs.push_back("-S"); } else if (JA.getType() == types::TY_AST) { CmdArgs.push_back("-emit-pch"); } |