From 21a92a8a559ba27907290bafd181e490101a4fcb Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 13 Jul 2019 06:27:35 +0000 Subject: This reverts commit 632a36bfcfc8273c1861f04ff6758d863c47c784. Some targets such as Python 2.7.16 still use VERSION in their builds. Without VERSION defined, the source code has syntax errors. Reverting as it will probably break many other things. Noticed by Sterling Augustine llvm-svn: 365992 --- clang/lib/Basic/Version.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'clang/lib/Basic/Version.cpp') diff --git a/clang/lib/Basic/Version.cpp b/clang/lib/Basic/Version.cpp index 5fd1276..d656458 100644 --- a/clang/lib/Basic/Version.cpp +++ b/clang/lib/Basic/Version.cpp @@ -136,6 +136,8 @@ std::string getClangToolFullVersion(StringRef ToolName) { } std::string getClangFullCPPVersion() { + // The version string we report in __VERSION__ is just a compacted version of + // the one we report on the command line. std::string buf; llvm::raw_string_ostream OS(buf); #ifdef CLANG_VENDOR -- cgit v1.1