We don't need a -compile-ast clang-cc action, we can just use -S.
llvm-svn: 82105
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index da533f1..13d9923 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -512,10 +512,7 @@
} 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");
}