summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-04-09 07:09:31 +0000
committerChris Lattner <sabre@nondot.org>2011-04-09 07:09:31 +0000
commit5045cf1a61f2a853e77fc1d568db663fe6aa3de4 (patch)
tree9431bd9710c73036527be65ed40f98a06f54d23f /clang/lib/Frontend/CompilerInvocation.cpp
parentaf1bccec68984c59d8d3fd0a57c4e368aa769528 (diff)
downloadbcm5719-llvm-5045cf1a61f2a853e77fc1d568db663fe6aa3de4.tar.gz
bcm5719-llvm-5045cf1a61f2a853e77fc1d568db663fe6aa3de4.zip
accept -x objc-cpp-output as an alias for -x objective-c-cpp-output,
per PR9577 llvm-svn: 129201
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index df876d80c77..3d6d9d9afcb 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1189,6 +1189,7 @@ static InputKind ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
.Case("assembler-with-cpp", IK_Asm)
.Case("c++-cpp-output", IK_PreprocessedCXX)
.Case("objective-c-cpp-output", IK_PreprocessedObjC)
+ .Case("objc-cpp-output", IK_PreprocessedObjC)
.Case("objective-c++-cpp-output", IK_PreprocessedObjCXX)
.Case("c-header", IK_C)
.Case("objective-c-header", IK_ObjC)
OpenPOWER on IntegriCloud