summaryrefslogtreecommitdiffstats
path: root/clang/lib/FrontendTool
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-11-29 22:42:06 +0000
committerDouglas Gregor <dgregor@apple.com>2011-11-29 22:42:06 +0000
commit70db54f18d179da6fbc0fe2280aaf3688c722f19 (patch)
tree0b16e09ffee473113914af8b429fe5549b9308f0 /clang/lib/FrontendTool
parent2a9c43649af21c735d18d08dc12be5b98d7b1ae7 (diff)
downloadbcm5719-llvm-70db54f18d179da6fbc0fe2280aaf3688c722f19.tar.gz
bcm5719-llvm-70db54f18d179da6fbc0fe2280aaf3688c722f19.zip
Eliminate the -emit-module option, which emitted a module by parsing a
source file (e.g., a header). Immediately steal this useful option name for building modules from a module map file. llvm-svn: 145444
Diffstat (limited to 'clang/lib/FrontendTool')
-rw-r--r--clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
index db76886095b..fec12e3b11d 100644
--- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
+++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
@@ -49,9 +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 GenerateModuleFromMap: return new GenerateModuleAction;
- 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