From 2b20cb87f5b6b48ca8d32f99a0ef5472605afefd Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 16 Nov 2011 00:09:06 +0000 Subject: Add support for building a module from a module map to the -cc1 interface. This is currently limited to modules with umbrella headers. llvm-svn: 144736 --- clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp') diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp index c9af3cc..db76886 100644 --- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp +++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp @@ -50,6 +50,7 @@ static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) { 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 GeneratePTH: return new GeneratePTHAction(); case InitOnly: return new InitOnlyAction(); -- cgit v1.1