[Lldb-commits] [lldb] b4968c7 - [lldb] Remove redundant ctor call (NFC)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 29 10:05:19 PDT 2020


Author: Jonas Devlieghere
Date: 2020-09-29T10:05:12-07:00
New Revision: b4968c7001c2d7e2e607bef1bb11ae8f076e47e0

URL: https://github.com/llvm/llvm-project/commit/b4968c7001c2d7e2e607bef1bb11ae8f076e47e0
DIFF: https://github.com/llvm/llvm-project/commit/b4968c7001c2d7e2e607bef1bb11ae8f076e47e0.diff

LOG: [lldb] Remove redundant ctor call (NFC)

As pointed out by Pavel in D88249.

Added: 
    

Modified: 
    lldb/source/API/SBValue.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/API/SBValue.cpp b/lldb/source/API/SBValue.cpp
index 63518b4c4e3e..0a95cf41263d 100644
--- a/lldb/source/API/SBValue.cpp
+++ b/lldb/source/API/SBValue.cpp
@@ -1356,7 +1356,7 @@ lldb::SBAddress SBValue::GetAddress() {
     }
   }
 
-  return LLDB_RECORD_RESULT(SBAddress(Address(addr)));
+  return LLDB_RECORD_RESULT(SBAddress(addr));
 }
 
 lldb::SBData SBValue::GetPointeeData(uint32_t item_idx, uint32_t item_count) {


        


More information about the lldb-commits mailing list