Date: Wed, 30 Dec 2015 16:42:09 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r292952 - in projects/clang380-import/contrib/llvm: patches tools/clang/lib/Basic Message-ID: <201512301642.tBUGg9p8041498@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512301642.tBUGg9p8041498>