We don't need a -compile-ast clang-cc action, we can just use -S.

llvm-svn: 82105
This commit is contained in:
Daniel Dunbar 2009-09-17 00:47:53 +00:00
parent 785d51c45b
commit d112f103e7
1 changed files with 1 additions and 4 deletions

View File

@ -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");
}