clang_debian_version
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Fri, 22 Dec 2017 10:17:30 +0000 (10:17 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 22 Dec 2017 10:17:30 +0000 (10:17 +0000)
===================================================================

Gbp-Pq: Name 19-clang_debian_version.patch

clang/lib/Basic/Version.cpp

index acbe2cb84eca973c8ee0eaaa1c45bb96dae64cf6..805f9ee3e2e8c843183b1395ccb0ce0ceb9cd71b 100644 (file)
@@ -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 <cstdlib>
 #include <cstring>
 
@@ -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.