summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-06-14 17:36:01 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-06-14 17:36:01 +0000
commit619117a31d89f4291bcdfacb9bfed054c734cd61 (patch)
tree9d72597d3ef786fe09c01a026c66183af7320bf5 /clang/lib/Frontend/CompilerInvocation.cpp
parent8af777330ef89c166476f4f93ee8a62fe038bc12 (diff)
downloadbcm5719-llvm-619117a31d89f4291bcdfacb9bfed054c734cd61.tar.gz
bcm5719-llvm-619117a31d89f4291bcdfacb9bfed054c734cd61.zip
Rename -rewrite-includes to -frewrite-includes.
llvm-svn: 158458
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 81d78c0e650..188de309f2d 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -445,7 +445,7 @@ static const char *getActionName(frontend::ActionKind Kind) {
case frontend::PrintPreamble: return "-print-preamble";
case frontend::PrintPreprocessedInput: return "-E";
case frontend::RewriteMacros: return "-rewrite-macros";
- case frontend::RewriteIncludes: return "-rewrite-includes";
+ case frontend::RewriteIncludes: return "-frewrite-includes";
case frontend::RewriteObjC: return "-rewrite-objc";
case frontend::RewriteTest: return "-rewrite-test";
case frontend::RunAnalysis: return "-analyze";
@@ -1446,7 +1446,7 @@ static InputKind ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
Opts.ProgramAction = frontend::PrintPreprocessedInput; break;
case OPT_rewrite_macros:
Opts.ProgramAction = frontend::RewriteMacros; break;
- case OPT_rewrite_includes:
+ case OPT_frewrite_includes:
Opts.ProgramAction = frontend::RewriteIncludes; break;
case OPT_rewrite_objc:
Opts.ProgramAction = frontend::RewriteObjC; break;
OpenPOWER on IntegriCloud