summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/Basic
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-12-30 16:42:09 +0000
committerdim <dim@FreeBSD.org>2015-12-30 16:42:09 +0000
commit76462f9f2c986bf9be2918a2c00da5b9c187e12e (patch)
tree5d2d61c9549ce7cbe68e1c9e885bf3ede9eea07f /contrib/llvm/tools/clang/lib/Basic
parentda874a70ff6b162c1d49e3883f0265630598f7c3 (diff)
downloadFreeBSD-src-76462f9f2c986bf9be2918a2c00da5b9c187e12e.zip
FreeBSD-src-76462f9f2c986bf9be2918a2c00da5b9c187e12e.tar.gz
Drop the clang patch which added a custom vendor suffix to the version
printed with -v. We have historically put a date stamp there (roughly corresponding to the date of import), but this has never been used for anything, and the patch has also never been upstreamed, so let's get rid of it now.
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Basic')
-rw-r--r--contrib/llvm/tools/clang/lib/Basic/Version.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/llvm/tools/clang/lib/Basic/Version.cpp b/contrib/llvm/tools/clang/lib/Basic/Version.cpp
index 6accb04..a1a67c2 100644
--- a/contrib/llvm/tools/clang/lib/Basic/Version.cpp
+++ b/contrib/llvm/tools/clang/lib/Basic/Version.cpp
@@ -128,10 +128,8 @@ std::string getClangToolFullVersion(StringRef ToolName) {
OS << ToolName << " version " CLANG_VERSION_STRING " "
<< getClangFullRepositoryVersion();
-#ifdef CLANG_VENDOR_SUFFIX
- OS << CLANG_VENDOR_SUFFIX;
-#elif defined(CLANG_VENDOR)
// If vendor supplied, include the base LLVM version as well.
+#ifdef CLANG_VENDOR
OS << " (based on " << BACKEND_PACKAGE_STRING << ")";
#endif
OpenPOWER on IntegriCloud