diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-11-16 00:09:06 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-11-16 00:09:06 +0000 |
commit | 2b20cb87f5b6b48ca8d32f99a0ef5472605afefd (patch) | |
tree | 2d4f1581a1685a26bdf04bb954c6b1c823c04c25 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 653183fd5cf7ec703f62b4a87b706f35c6b31dd6 (diff) | |
download | bcm5719-llvm-2b20cb87f5b6b48ca8d32f99a0ef5472605afefd.tar.gz bcm5719-llvm-2b20cb87f5b6b48ca8d32f99a0ef5472605afefd.zip |
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
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
-rw-r--r-- | clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp index c9af3cc3ff1..db76886095b 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(); |