[Lldb-commits] [lldb] 08924b5 - [lldb] Remove unused code in GetVersion (NFC)
Dave Lee via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 12 16:31:24 PDT 2020
Author: Dave Lee
Date: 2020-10-12T16:31:14-07:00
New Revision: 08924b54debcfd47bcf22a8213308cec7d22b975
URL: https://github.com/llvm/llvm-project/commit/08924b54debcfd47bcf22a8213308cec7d22b975
DIFF: https://github.com/llvm/llvm-project/commit/08924b54debcfd47bcf22a8213308cec7d22b975.diff
LOG: [lldb] Remove unused code in GetVersion (NFC)
Small cleanup to `lldb_private::GetVersion()`.
Differential Revision: https://reviews.llvm.org/D88939
Added:
Modified:
lldb/source/lldb.cpp
Removed:
################################################################################
diff --git a/lldb/source/lldb.cpp b/lldb/source/lldb.cpp
index 6d4ed66074dc..4d4c636a4f9c 100644
--- a/lldb/source/lldb.cpp
+++ b/lldb/source/lldb.cpp
@@ -33,12 +33,7 @@ static const char *GetLLDBRepository() {
#endif
}
-#define QUOTE(str) #str
-#define EXPAND_AND_QUOTE(str) QUOTE(str)
-
const char *lldb_private::GetVersion() {
- // On platforms other than Darwin, report a version number in the same style
- // as the clang tool.
static std::string g_version_str;
if (g_version_str.empty()) {
g_version_str += "lldb version ";
More information about the lldb-commits
mailing list