svn commit: r292952 - in projects/clang380-import/contrib/llvm: patches tools/clang/lib/Basic

Dimitry Andric dim at FreeBSD.org
Wed Dec 30 16:42:11 UTC 2015


Author: dim
Date: Wed Dec 30 16:42:09 2015
New Revision: 292952
URL: https://svnweb.freebsd.org/changeset/base/292952

Log:
  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.

Deleted:
  projects/clang380-import/contrib/llvm/patches/patch-01-clang-vendor-suffix.diff
Modified:
  projects/clang380-import/contrib/llvm/tools/clang/lib/Basic/Version.cpp

Modified: projects/clang380-import/contrib/llvm/tools/clang/lib/Basic/Version.cpp
==============================================================================
--- projects/clang380-import/contrib/llvm/tools/clang/lib/Basic/Version.cpp	Wed Dec 30 16:20:24 2015	(r292951)
+++ projects/clang380-import/contrib/llvm/tools/clang/lib/Basic/Version.cpp	Wed Dec 30 16:42:09 2015	(r292952)
@@ -128,10 +128,8 @@ std::string getClangToolFullVersion(Stri
   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
 


More information about the svn-src-projects mailing list