From b98545cc67434abc092e4243eab113277b3a1d1e Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Fri, 22 Dec 2017 10:42:46 +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 fbaad76c6..51e51a6f5 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. -- 2.30.2