diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-11-15 21:49:36 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-11-15 21:49:36 +0000 |
commit | b8691df825c99b0fc989fcd92a008d2500ff2e37 (patch) | |
tree | 53fd0ad49858cac8258341f447df39384c6be4e5 /lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 9c0e1ec7b3afd833c1b958ce2aeedff71c7eb4c5 (diff) |
Split GenerateModuleAction into its own action, which will start
differing from GeneratePCHAction fairly soon.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144703 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/FrontendTool/ExecuteCompilerInvocation.cpp')
-rw-r--r-- | lib/FrontendTool/ExecuteCompilerInvocation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/lib/FrontendTool/ExecuteCompilerInvocation.cpp index c9af3cc3ff..ea50a76a39 100644 --- a/lib/FrontendTool/ExecuteCompilerInvocation.cpp +++ b/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(); |