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 ";


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to