From: LLVM Packaging Team Date: Tue, 2 Apr 2019 09:57:08 +0000 (+0100) Subject: clang_debian_version X-Git-Tag: archive/raspbian/1%8-3+rpi1~96 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ee8086aa0f76a3f578b8497cc5a62fbb4062d27e;p=llvm-toolchain-8.git clang_debian_version =================================================================== Gbp-Pq: Name 19-clang_debian_version.patch --- diff --git a/clang/lib/Basic/Version.cpp b/clang/lib/Basic/Version.cpp index a15c60e0f..296623798 100644 --- a/clang/lib/Basic/Version.cpp +++ b/clang/lib/Basic/Version.cpp @@ -15,6 +15,7 @@ #include "clang/Basic/LLVM.h" #include "clang/Config/config.h" #include "llvm/Support/raw_ostream.h" +#include "clang/Debian/debian_path.h" #include #include @@ -125,7 +126,7 @@ std::string getClangToolFullVersion(StringRef ToolName) { #ifdef CLANG_VENDOR OS << CLANG_VENDOR; #endif - OS << ToolName << " version " CLANG_VERSION_STRING " " + OS << ToolName << " version " CLANG_VERSION_STRING "-" DEB_PATCHSETVERSION " " << getClangFullRepositoryVersion(); // If vendor supplied, include the base LLVM version as well.