diff options
author | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2008-02-15 22:35:25 +0000 |
---|---|---|
committer | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2008-02-15 22:35:25 +0000 |
commit | 279876b3b4a98d2edc46df591577e904b209be94 (patch) | |
tree | 0d33d2504d5956e9944f90a74737ce0b69184678 | |
parent | b2331834a0515c80862ee51325c758a053829f15 (diff) |
Add c++ to "inferlanguage"
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47185 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/ccc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -54,6 +54,8 @@ def changeextension(path, newext): 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": |