summaryrefslogtreecommitdiffstats
path: root/clang/lib/FrontendTool
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-11-15 21:49:36 +0000
committerDouglas Gregor <dgregor@apple.com>2011-11-15 21:49:36 +0000
commit86b6f742171d94cc23e9773429ed9cc33dde4857 (patch)
tree3d480aa138f8d81a0c91faf64d45d6acd7dec0ea /clang/lib/FrontendTool
parentb4db660cff42462e3b312eb27923cbe670cc746e (diff)
downloadbcm5719-llvm-86b6f742171d94cc23e9773429ed9cc33dde4857.tar.gz
bcm5719-llvm-86b6f742171d94cc23e9773429ed9cc33dde4857.zip
Split GenerateModuleAction into its own action, which will start
differing from GeneratePCHAction fairly soon. llvm-svn: 144703
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 c9af3cc3ff1..ea50a76a39e 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 GeneratePCHAction(true);
- case GeneratePCH: return new GeneratePCHAction(false);
+ case GenerateModule: return new GenerateModuleAction();
+ case GeneratePCH: return new GeneratePCHAction();
case GeneratePTH: return new GeneratePTHAction();
case InitOnly: return new InitOnlyAction();
case ParseSyntaxOnly: return new SyntaxOnlyAction();
OpenPOWER on IntegriCloud