[Lldb-commits] [lldb] r374080 - Remove constructor and unused method (NFC).
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 8 09:29:33 PDT 2019
Author: adrian
Date: Tue Oct 8 09:29:33 2019
New Revision: 374080
URL: http://llvm.org/viewvc/llvm-project?rev=374080&view=rev
Log:
Remove constructor and unused method (NFC).
Differential Revision: https://reviews.llvm.org/D68595
Modified:
lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
Modified: lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp?rev=374080&r1=374079&r2=374080&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp (original)
+++ lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp Tue Oct 8 09:29:33 2019
@@ -1895,18 +1895,6 @@ protected:
};
struct TrieEntry {
- TrieEntry()
- : name(), address(LLDB_INVALID_ADDRESS), flags(0), other(0),
- import_name() {}
-
- void Clear() {
- name.Clear();
- address = LLDB_INVALID_ADDRESS;
- flags = 0;
- other = 0;
- import_name.Clear();
- }
-
void Dump() const {
printf("0x%16.16llx 0x%16.16llx 0x%16.16llx \"%s\"",
static_cast<unsigned long long>(address),
@@ -1918,9 +1906,9 @@ struct TrieEntry {
printf("\n");
}
ConstString name;
- uint64_t address;
- uint64_t flags;
- uint64_t other;
+ uint64_t address = LLDB_INVALID_ADDRESS;
+ uint64_t flags = 0;
+ uint64_t other = 0;
ConstString import_name;
};
More information about the lldb-commits
mailing list