summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-12-30 16:14:30 +0000
committerdim <dim@FreeBSD.org>2015-12-30 16:14:30 +0000
commit4820136b6aadbc80d05702e16ef1cfc01bce3ccc (patch)
tree5c79b9ad3c8606d18c71c1bffc67a279ae8e75ca /contrib/llvm/tools
parenta34806ae5e52827216675ac0a1e0a89722756f73 (diff)
downloadFreeBSD-src-4820136b6aadbc80d05702e16ef1cfc01bce3ccc.zip
FreeBSD-src-4820136b6aadbc80d05702e16ef1cfc01bce3ccc.tar.gz
Drop the clang patch which adds recognition of 'CC' suffixes as aliases
for --driver-mode=g++, since this was never upstreamed. For backwards compatibility, add a wrapper shell script. MFC after: 1 week
Diffstat (limited to 'contrib/llvm/tools')
-rw-r--r--contrib/llvm/tools/clang/tools/driver/driver.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/contrib/llvm/tools/clang/tools/driver/driver.cpp b/contrib/llvm/tools/clang/tools/driver/driver.cpp
index b64fa8c..5925447 100644
--- a/contrib/llvm/tools/clang/tools/driver/driver.cpp
+++ b/contrib/llvm/tools/clang/tools/driver/driver.cpp
@@ -214,13 +214,11 @@ static const DriverSuffix *FindDriverSuffix(StringRef ProgName) {
{"clang", nullptr},
{"clang++", "--driver-mode=g++"},
{"clang-c++", "--driver-mode=g++"},
- {"clang-CC", "--driver-mode=g++"},
{"clang-cc", nullptr},
{"clang-cpp", "--driver-mode=cpp"},
{"clang-g++", "--driver-mode=g++"},
{"clang-gcc", nullptr},
{"clang-cl", "--driver-mode=cl"},
- {"CC", "--driver-mode=g++"},
{"cc", nullptr},
{"cpp", "--driver-mode=cpp"},
{"cl", "--driver-mode=cl"},
OpenPOWER on IntegriCloud