[cfe-commits] r106602 - /cfe/trunk/lib/Driver/Types.cpp
Douglas Gregor
dgregor at apple.com
Tue Jun 22 16:43:23 PDT 2010
Author: dgregor
Date: Tue Jun 22 18:43:22 2010
New Revision: 106602
URL: http://llvm.org/viewvc/llvm-project?rev=106602&view=rev
Log:
Make c++ and C++ valid extensions for C++ source files, from Seth Cantrell!
Modified:
cfe/trunk/lib/Driver/Types.cpp
Modified: cfe/trunk/lib/Driver/Types.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Types.cpp?rev=106602&r1=106601&r2=106602&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Types.cpp (original)
+++ cfe/trunk/lib/Driver/Types.cpp Tue Jun 22 18:43:22 2010
@@ -157,6 +157,8 @@
.Case("ads", TY_Ada)
.Case("adb", TY_Ada)
.Case("ast", TY_AST)
+ .Case("c++", TY_CXX)
+ .Case("C++", TY_CXX)
.Case("cxx", TY_CXX)
.Case("cpp", TY_CXX)
.Case("CPP", TY_CXX)
More information about the cfe-commits
mailing list