projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a52cc9b
)
[lldb] Remove unused code in GetVersion (NFC)
author
Dave Lee
<davelee.com@gmail.com>
Wed, 7 Oct 2020 01:23:57 +0000
(18:23 -0700)
committer
Dave Lee
<davelee.com@gmail.com>
Mon, 12 Oct 2020 23:31:14 +0000
(16:31 -0700)
Small cleanup to `lldb_private::GetVersion()`.
Differential Revision: https://reviews.llvm.org/D88939
lldb/source/lldb.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/lldb.cpp
b/lldb/source/lldb.cpp
index
6d4ed66
..
4d4c636
100644
(file)
--- 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 ";