aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-09-15 19:45:56 +0000
committerDouglas Gregor <dgregor@apple.com>2011-09-15 19:45:56 +0000
commit8a880e3ff613e7592d1824f87ed6c9391cc745aa (patch)
tree395b1f7f78cd56121bbd837af8126433886dd6ba /clang/lib/Frontend/CompilerInvocation.cpp
parent79a70e42b0baf4001e896dc640b95113f44b93bd (diff)
downloadllvm-8a880e3ff613e7592d1824f87ed6c9391cc745aa.zip
llvm-8a880e3ff613e7592d1824f87ed6c9391cc745aa.tar.gz
llvm-8a880e3ff613e7592d1824f87ed6c9391cc745aa.tar.bz2
Eliminate the unused -create-module cc1-level option
llvm-svn: 139827
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 c594526..4953f17 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -363,7 +363,6 @@ static const char *getActionName(frontend::ActionKind Kind) {
case frontend::ASTDumpXML: return "-ast-dump-xml";
case frontend::ASTPrint: return "-ast-print";
case frontend::ASTView: return "-ast-view";
- case frontend::CreateModule: return "-create-module";
case frontend::DumpRawTokens: return "-dump-raw-tokens";
case frontend::DumpTokens: return "-dump-tokens";
case frontend::EmitAssembly: return "-S";
@@ -1231,8 +1230,6 @@ static InputKind ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
Opts.ProgramAction = frontend::RunAnalysis; break;
case OPT_Eonly:
Opts.ProgramAction = frontend::RunPreprocessorOnly; break;
- case OPT_create_module:
- Opts.ProgramAction = frontend::CreateModule; break;
}
}