diff options
| author | Kazu Hirata <kazu@google.com> | 2022-01-02 22:44:15 -0800 |
|---|---|---|
| committer | Kazu Hirata <kazu@google.com> | 2022-01-02 22:44:16 -0800 |
| commit | a3436f7340cb5bdb9dddf2b6b3e72ca6cf9f7e22 (patch) | |
| tree | ab36bef64c2d362ece8e7d07bff710305dd14635 /lldb/source/API/SBModule.cpp | |
| parent | 1461bd13c91b78cc20b097e3dd9231f52f96ece0 (diff) | |
[API] Remove redundant member initialization (NFC)
Identified with readability-redundant-member-init.
Diffstat (limited to 'lldb/source/API/SBModule.cpp')
| -rw-r--r-- | lldb/source/API/SBModule.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lldb/source/API/SBModule.cpp b/lldb/source/API/SBModule.cpp index 710ee8551bd6..ed17e8fdc9c3 100644 --- a/lldb/source/API/SBModule.cpp +++ b/lldb/source/API/SBModule.cpp @@ -29,13 +29,11 @@ using namespace lldb; using namespace lldb_private; -SBModule::SBModule() : m_opaque_sp() { - LLDB_RECORD_CONSTRUCTOR_NO_ARGS(SBModule); -} +SBModule::SBModule() { LLDB_RECORD_CONSTRUCTOR_NO_ARGS(SBModule); } SBModule::SBModule(const lldb::ModuleSP &module_sp) : m_opaque_sp(module_sp) {} -SBModule::SBModule(const SBModuleSpec &module_spec) : m_opaque_sp() { +SBModule::SBModule(const SBModuleSpec &module_spec) { LLDB_RECORD_CONSTRUCTOR(SBModule, (const lldb::SBModuleSpec &), module_spec); ModuleSP module_sp; @@ -49,8 +47,7 @@ SBModule::SBModule(const SBModule &rhs) : m_opaque_sp(rhs.m_opaque_sp) { LLDB_RECORD_CONSTRUCTOR(SBModule, (const lldb::SBModule &), rhs); } -SBModule::SBModule(lldb::SBProcess &process, lldb::addr_t header_addr) - : m_opaque_sp() { +SBModule::SBModule(lldb::SBProcess &process, lldb::addr_t header_addr) { LLDB_RECORD_CONSTRUCTOR(SBModule, (lldb::SBProcess &, lldb::addr_t), process, header_addr); |
