aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2024-03-19 17:16:47 -0700
committerGitHub <noreply@github.com>2024-03-19 17:16:47 -0700
commit595280af561fdba156efbdd654ed4076855aac9c (patch)
tree6521ff67fa0a9c183da1f881eb81380adfd28aec /llvm/lib/Support/CommandLine.cpp
parent36146d2b6be53e5e98dee3c1fce8699db9615728 (diff)
downloadllvm-595280af561fdba156efbdd654ed4076855aac9c.zip
llvm-595280af561fdba156efbdd654ed4076855aac9c.tar.gz
llvm-595280af561fdba156efbdd654ed4076855aac9c.tar.bz2
Revert "[llvm] Include LLVM_REPOSITORY and LLVM_REVISION in tool version" (#85879)
Reverts llvm/llvm-project#84990 because this causes a full rebuild after the commit hash changes.
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r--llvm/lib/Support/CommandLine.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp
index 42dbc4d..c076ae8 100644
--- a/llvm/lib/Support/CommandLine.cpp
+++ b/llvm/lib/Support/CommandLine.cpp
@@ -39,7 +39,6 @@
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/StringSaver.h"
-#include "llvm/Support/VCSRevision.h"
#include "llvm/Support/VirtualFileSystem.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdlib>
@@ -2539,15 +2538,7 @@ public:
#else
OS << "LLVM (http://llvm.org/):\n ";
#endif
- OS << PACKAGE_NAME << " version " << PACKAGE_VERSION;
-#ifdef LLVM_REPOSITORY
- OS << " (" << LLVM_REPOSITORY;
-#ifdef LLVM_REVISION
- OS << ' ' << LLVM_REVISION;
-#endif
- OS << ')';
-#endif
- OS << "\n ";
+ OS << PACKAGE_NAME << " version " << PACKAGE_VERSION << "\n ";
#if LLVM_IS_DEBUG_BUILD
OS << "DEBUG build";
#else