From 856824ddbba2cb58797ab96629ba3ef709e41f8d Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Sat, 7 Nov 2020 14:53:51 +0000 Subject: [PATCH] clang_debian_version =================================================================== Gbp-Pq: Name 19-clang_debian_version.patch --- clang/lib/Basic/Version.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/lib/Basic/Version.cpp b/clang/lib/Basic/Version.cpp index 286107cab..034966e64 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 @@ -97,7 +98,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; std::string repo = getClangFullRepositoryVersion(); if (!repo.empty()) { -- 2.30.2