File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -56,23 +56,14 @@ const char *lldb_private::GetVersion() {
56
56
}
57
57
g_version_str += " )" ;
58
58
}
59
-
60
- #if LLDB_IS_BUILDBOT_BUILD
61
- std::string build_date = GetBuildDate ();
62
- if (!build_date.empty ())
63
- g_version_str += " (buildbot " + build_date + " )" ;
64
- #endif
65
59
66
60
#ifdef LLDB_ENABLE_SWIFT
67
61
auto const swift_version = swift::version::getSwiftFullVersion ();
68
62
g_version_str += " \n " + swift_version;
69
- #endif // LLDB_ENABLE_SWIFT
70
-
63
+ #else
71
64
// getSwiftFullVersion() also prints clang and llvm versions, no
72
65
// need to print them again. We keep this code here to not diverge
73
66
// too much from upstream.
74
- #undef LLDB_UPSTREAM
75
- #ifdef LLDB_UPSTREAM
76
67
std::string clang_rev (clang::getClangRevision ());
77
68
if (clang_rev.length () > 0 ) {
78
69
g_version_str += " \n clang revision " ;
@@ -83,7 +74,7 @@ const char *lldb_private::GetVersion() {
83
74
g_version_str += " \n llvm revision " ;
84
75
g_version_str += llvm_rev;
85
76
}
86
- #endif // LLDB_UPSTREAM
77
+ #endif // LLDB_ENABLE_SWIFT
87
78
}
88
79
return g_version_str.c_str ();
89
80
}
You can’t perform that action at this time.
0 commit comments