From 70db54f18d179da6fbc0fe2280aaf3688c722f19 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 29 Nov 2011 22:42:06 +0000 Subject: 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 --- clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp') diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp index db76886..fec12e3 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(); -- cgit v1.1