From 76462f9f2c986bf9be2918a2c00da5b9c187e12e Mon Sep 17 00:00:00 2001 From: dim Date: Wed, 30 Dec 2015 16:42:09 +0000 Subject: 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. --- contrib/llvm/tools/clang/lib/Basic/Version.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'contrib/llvm/tools/clang/lib/Basic') 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 -- cgit v1.1