]> granicus.if.org Git - clang/commitdiff
Accept -x objc++-cpp-output as an alias for -x objective-c++-cpp-output
authorNico Weber <nicolasweber@gmx.de>
Sat, 13 Aug 2011 19:03:50 +0000 (19:03 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 13 Aug 2011 19:03:50 +0000 (19:03 +0000)
This is the ObjC++ version of r129201. It's for example needed to use
ccache with clang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137560 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/CompilerInvocation.cpp

index 88c972c82818a91ce862886db7a8d528a14ec96e..bc6b08d686aa9f54374304bc499f0918026351a5 100644 (file)
@@ -1322,6 +1322,7 @@ static InputKind ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args,
       .Case("objective-c-cpp-output", IK_PreprocessedObjC)
       .Case("objc-cpp-output", IK_PreprocessedObjC)
       .Case("objective-c++-cpp-output", IK_PreprocessedObjCXX)
+      .Case("objc++-cpp-output", IK_PreprocessedObjCXX)
       .Case("c-header", IK_C)
       .Case("objective-c-header", IK_ObjC)
       .Case("c++-header", IK_CXX)