From: LLVM Packaging Team Date: Sat, 31 Oct 2020 13:13:25 +0000 (+0000) Subject: clang_debian_version X-Git-Tag: archive/raspbian/1%10.0.1-8+rpi1^2~80 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f20ebf5bfb0f76eae99d26a40953581a0bf316ae;p=llvm-toolchain-10.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 c69d13b2f..e1b9ccf2e 100644 --- a/clang/lib/Basic/Version.cpp +++ b/clang/lib/Basic/Version.cpp @@ -14,6 +14,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 @@ -124,7 +125,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(); return OS.str();