summaryrefslogtreecommitdiffstats
path: root/clang/lib/FrontendTool
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-11-15 22:58:25 +0000
committerDouglas Gregor <dgregor@apple.com>2011-11-15 22:58:25 +0000
commitac42ec6fc562f15b7a296734edfba2e228616304 (patch)
tree7509aaa1b244c8b2842d7d96cb647a259a58444b /clang/lib/FrontendTool
parent003cea6011312b5526fd835c86f7a798106cc18a (diff)
downloadbcm5719-llvm-ac42ec6fc562f15b7a296734edfba2e228616304.tar.gz
bcm5719-llvm-ac42ec6fc562f15b7a296734edfba2e228616304.zip
Revert r144703. It was a dumb idea anyway; will add the new bits more
incrementally with a new frontend action. llvm-svn: 144723
Diffstat (limited to 'clang/lib/FrontendTool')
-rw-r--r--clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
index ea50a76a39e..c9af3cc3ff1 100644
--- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
+++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
@@ -49,8 +49,8 @@ static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) {
case EmitCodeGenOnly: return new EmitCodeGenOnlyAction();
case EmitObj: return new EmitObjAction();
case FixIt: return new FixItAction();
- case GenerateModule: return new GenerateModuleAction();
- case GeneratePCH: return new GeneratePCHAction();
+ case GenerateModule: return new GeneratePCHAction(true);
+ case GeneratePCH: return new GeneratePCHAction(false);
case GeneratePTH: return new GeneratePTHAction();
case InitOnly: return new InitOnlyAction();
case ParseSyntaxOnly: return new SyntaxOnlyAction();
OpenPOWER on IntegriCloud