From: LLVM Packaging Team Date: Tue, 24 Mar 2020 16:37:07 +0000 (+0000) Subject: clang_debian_version X-Git-Tag: archive/raspbian/1%10.0.0-1+rpi1~75 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f79e6b0cc593928e62763a945f3babc273ffd64c;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();