[cfe-commits] r137560 - /cfe/trunk/lib/Frontend/CompilerInvocation.cpp
Nico Weber
nicolasweber at gmx.de
Sat Aug 13 12:03:50 PDT 2011
Author: nico
Date: Sat Aug 13 14:03:50 2011
New Revision: 137560
URL: http://llvm.org/viewvc/llvm-project?rev=137560&view=rev
Log:
Accept -x objc++-cpp-output as an alias for -x objective-c++-cpp-output
This is the ObjC++ version of r129201. It's for example needed to use
ccache with clang.
Modified:
cfe/trunk/lib/Frontend/CompilerInvocation.cpp
Modified: cfe/trunk/lib/Frontend/CompilerInvocation.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInvocation.cpp?rev=137560&r1=137559&r2=137560&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInvocation.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInvocation.cpp Sat Aug 13 14:03:50 2011
@@ -1322,6 +1322,7 @@
.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)
More information about the cfe-commits
mailing list