File tree Expand file tree Collapse file tree 3 files changed +4
-21
lines changed Expand file tree Collapse file tree 3 files changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ namespace clang {
2323
2424std::string getClangRepositoryPath () {
2525#if defined(CLANG_REPOSITORY_STRING)
26- return CLANG_REPOSITORY_STRING ;
26+ return " " ;
2727#else
2828#ifdef CLANG_REPOSITORY
29- return CLANG_REPOSITORY ;
29+ return " " ;
3030#else
3131 return " " ;
3232#endif
@@ -35,24 +35,18 @@ std::string getClangRepositoryPath() {
3535
3636std::string getLLVMRepositoryPath () {
3737#ifdef LLVM_REPOSITORY
38- return LLVM_REPOSITORY;
39- #else
4038 return " " ;
4139#endif
4240}
4341
4442std::string getClangRevision () {
4543#ifdef CLANG_REVISION
46- return CLANG_REVISION;
47- #else
4844 return " " ;
4945#endif
5046}
5147
5248std::string getLLVMRevision () {
5349#ifdef LLVM_REVISION
54- return LLVM_REVISION;
55- #else
5650 return " " ;
5751#endif
5852}
Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ if(NOT DEFINED LLVM_VERSION_PATCH)
1010 set (LLVM_VERSION_PATCH 0)
1111endif ()
1212if (NOT DEFINED LLVM_VERSION_SUFFIX)
13- set (LLVM_VERSION_SUFFIX git )
13+ set (LLVM_VERSION_SUFFIX "" )
1414endif ()
1515
Original file line number Diff line number Diff line change 1818// LLD 14.0.0 (https://github.com/llvm/llvm-project.git
1919// 2d9759c7902c5cbc9a7e3ab623321d5578d51687)
2020std::string lld::getLLDVersion () {
21- #ifdef LLD_VENDOR
22- #define LLD_VENDOR_DISPLAY LLD_VENDOR " "
23- #else
24- #define LLD_VENDOR_DISPLAY
25- #endif
26- #if defined(LLVM_REPOSITORY) && defined(LLVM_REVISION)
27- return LLD_VENDOR_DISPLAY " LLD " LLD_VERSION_STRING " (" LLVM_REPOSITORY
28- " " LLVM_REVISION " )" ;
29- #else
30- return LLD_VENDOR_DISPLAY " LLD " LLD_VERSION_STRING;
31- #endif
32- #undef LLD_VENDOR_DISPLAY
21+ return " LLD " LLD_VERSION_STRING;
3322}
You can’t perform that action at this time.
0 commit comments