[lldb] Remove redundant member initialization (NFC)

Identified with readability-redundant-member-init.
This commit is contained in:
Kazu Hirata 2022-07-24 12:27:09 -07:00
parent 4f8a2194c9
commit 1d9231de70
3 changed files with 3 additions and 4 deletions

View File

@ -216,8 +216,7 @@ CommandObjectDisassemble::CommandObjectDisassemble(
"Disassemble specified instructions in the current target. "
"Defaults to the current function for the current thread and "
"stack frame.",
"disassemble [<cmd-options>]", eCommandRequiresTarget),
m_options() {}
"disassemble [<cmd-options>]", eCommandRequiresTarget) {}
CommandObjectDisassemble::~CommandObjectDisassemble() = default;

View File

@ -187,7 +187,7 @@ CommandObjectExpression::CommandObjectExpression(
m_format_options(eFormatDefault),
m_repl_option(LLDB_OPT_SET_1, false, "repl", 'r', "Drop into REPL", false,
true),
m_command_options(), m_expr_line_count(0) {
m_expr_line_count(0) {
SetHelpLong(
R"(
Single and multi-line expressions:

View File

@ -1659,7 +1659,7 @@ class CommandObjectMemoryRegion : public CommandObjectParsed {
public:
class OptionGroupMemoryRegion : public OptionGroup {
public:
OptionGroupMemoryRegion() : OptionGroup(), m_all(false, false) {}
OptionGroupMemoryRegion() : m_all(false, false) {}
~OptionGroupMemoryRegion() override = default;