diff options
author | Alp Toker <alp@nuanti.com> | 2014-06-06 10:36:22 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-06-06 10:36:22 +0000 |
commit | f988d006823027593c42fd49f1cfed2c50068005 (patch) | |
tree | 5fea9b617c635a4228872b22578463393a615015 /clang/lib/Basic/Version.cpp | |
parent | f419931fa3a120e23ac0c1f536ab6209f70e7d9d (diff) | |
download | llvm-f988d006823027593c42fd49f1cfed2c50068005.zip llvm-f988d006823027593c42fd49f1cfed2c50068005.tar.gz llvm-f988d006823027593c42fd49f1cfed2c50068005.tar.bz2 |
Revert "Revert "Devise a package-private means to determine the LLVM version string""
We probably just need to touch LLVM's configure this time to work around the
totally inadequate Makefile build server integration.
This reverts commit r210314.
llvm-svn: 210320
Diffstat (limited to 'clang/lib/Basic/Version.cpp')
-rw-r--r-- | clang/lib/Basic/Version.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Basic/Version.cpp b/clang/lib/Basic/Version.cpp index ae32c01..c2b7753 100644 --- a/clang/lib/Basic/Version.cpp +++ b/clang/lib/Basic/Version.cpp @@ -13,7 +13,7 @@ #include "clang/Basic/Version.h" #include "clang/Basic/LLVM.h" -#include "llvm/Config/config.h" +#include "clang/Config/config.h" #include "llvm/Support/raw_ostream.h" #include <cstdlib> #include <cstring> @@ -130,7 +130,7 @@ std::string getClangToolFullVersion(StringRef ToolName) { // If vendor supplied, include the base LLVM version as well. #ifdef CLANG_VENDOR - OS << " (based on LLVM " << PACKAGE_VERSION << ")"; + OS << " (based on " << BACKEND_PACKAGE_STRING << ")"; #endif return OS.str(); |