summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/patches/patch-02-clang-vendor-suffix.diff
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-05-30 15:36:23 +0000
committerdim <dim@FreeBSD.org>2015-05-30 15:36:23 +0000
commit3cd22c5584a700a2036b948ef96ae41bbd233bb6 (patch)
treee9f6288dce1b090572b6ade998862abc53e54b80 /contrib/llvm/patches/patch-02-clang-vendor-suffix.diff
parente3e0f940d5a51d987e16f07a7e27c1a99c8972c2 (diff)
downloadFreeBSD-src-3cd22c5584a700a2036b948ef96ae41bbd233bb6.zip
FreeBSD-src-3cd22c5584a700a2036b948ef96ae41bbd233bb6.tar.gz
Drop llvm/clang patches which are no longer necessary.
Diffstat (limited to 'contrib/llvm/patches/patch-02-clang-vendor-suffix.diff')
-rw-r--r--contrib/llvm/patches/patch-02-clang-vendor-suffix.diff22
1 files changed, 0 insertions, 22 deletions
diff --git a/contrib/llvm/patches/patch-02-clang-vendor-suffix.diff b/contrib/llvm/patches/patch-02-clang-vendor-suffix.diff
deleted file mode 100644
index f94b9f3..0000000
--- a/contrib/llvm/patches/patch-02-clang-vendor-suffix.diff
+++ /dev/null
@@ -1,22 +0,0 @@
-This patch adds a FreeBSD-specific suffix to clang's version string. This is
-usually of the form "(yyyyddmm)", representing the date when the compiler was
-last updated.
-
-Introduced here: http://svnweb.freebsd.org/changeset/base/209107
-
-Index: tools/clang/lib/Basic/Version.cpp
-===================================================================
---- tools/clang/lib/Basic/Version.cpp
-+++ tools/clang/lib/Basic/Version.cpp
-@@ -128,8 +128,10 @@ std::string getClangToolFullVersion(StringRef Tool
- 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