[cfe-commits] r47185 - /cfe/trunk/utils/ccc
Lauro Ramos Venancio
lauro.venancio at gmail.com
Fri Feb 15 14:35:26 PST 2008
Author: laurov
Date: Fri Feb 15 16:35:25 2008
New Revision: 47185
URL: http://llvm.org/viewvc/llvm-project?rev=47185&view=rev
Log:
Add c++ to "inferlanguage"
Modified:
cfe/trunk/utils/ccc
Modified: cfe/trunk/utils/ccc
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc?rev=47185&r1=47184&r2=47185&view=diff
==============================================================================
--- cfe/trunk/utils/ccc (original)
+++ cfe/trunk/utils/ccc Fri Feb 15 16:35:25 2008
@@ -54,6 +54,8 @@
def inferlanguage(extension):
if extension == "c":
return "c"
+ elif extension in ["cpp", "cc"]:
+ return "c++"
elif extension == "i":
return "c-cpp-output"
elif extension == "m":
More information about the cfe-commits
mailing list