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 {
23
23
24
24
std::string getClangRepositoryPath () {
25
25
#if defined(CLANG_REPOSITORY_STRING)
26
- return CLANG_REPOSITORY_STRING ;
26
+ return " " ;
27
27
#else
28
28
#ifdef CLANG_REPOSITORY
29
- return CLANG_REPOSITORY ;
29
+ return " " ;
30
30
#else
31
31
return " " ;
32
32
#endif
@@ -35,24 +35,18 @@ std::string getClangRepositoryPath() {
35
35
36
36
std::string getLLVMRepositoryPath () {
37
37
#ifdef LLVM_REPOSITORY
38
- return LLVM_REPOSITORY;
39
- #else
40
38
return " " ;
41
39
#endif
42
40
}
43
41
44
42
std::string getClangRevision () {
45
43
#ifdef CLANG_REVISION
46
- return CLANG_REVISION;
47
- #else
48
44
return " " ;
49
45
#endif
50
46
}
51
47
52
48
std::string getLLVMRevision () {
53
49
#ifdef LLVM_REVISION
54
- return LLVM_REVISION;
55
- #else
56
50
return " " ;
57
51
#endif
58
52
}
Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ if(NOT DEFINED LLVM_VERSION_PATCH)
10
10
set (LLVM_VERSION_PATCH 0 )
11
11
endif ()
12
12
if (NOT DEFINED LLVM_VERSION_SUFFIX )
13
- set (LLVM_VERSION_SUFFIX git )
13
+ set (LLVM_VERSION_SUFFIX "" )
14
14
endif ()
15
15
Original file line number Diff line number Diff line change 18
18
// LLD 14.0.0 (https://github.com/llvm/llvm-project.git
19
19
// 2d9759c7902c5cbc9a7e3ab623321d5578d51687)
20
20
std::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;
33
22
}
You can’t perform that action at this time.
0 commit comments