forked from OSchip/llvm-project
We don't need a -compile-ast clang-cc action, we can just use -S.
llvm-svn: 82105
This commit is contained in:
parent
785d51c45b
commit
d112f103e7
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue