summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
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/Frontend/CompilerInvocation.cpp
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/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 4977b4f30ae..6b5c8cf5b56 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -409,7 +409,6 @@ static const char *getActionName(frontend::ActionKind Kind) {
case frontend::EmitObj: return "-emit-obj";
case frontend::FixIt: return "-fixit";
case frontend::GenerateModule: return "-emit-module";
- case frontend::GenerateModuleFromMap: return "-emit-module-from-map";
case frontend::GeneratePCH: return "-emit-pch";
case frontend::GeneratePTH: return "-emit-pth";
case frontend::InitOnly: return "-init-only";
@@ -1274,8 +1273,6 @@ static InputKind ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
Opts.ProgramAction = frontend::FixIt; break;
case OPT_emit_module:
Opts.ProgramAction = frontend::GenerateModule; break;
- case OPT_emit_module_from_map:
- Opts.ProgramAction = frontend::GenerateModuleFromMap; break;
case OPT_emit_pch:
Opts.ProgramAction = frontend::GeneratePCH; break;
case OPT_emit_pth:
OpenPOWER on IntegriCloud