diff options
author | Kazu Hirata <kazu@google.com> | 2022-01-23 11:07:14 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-01-23 11:07:14 -0800 |
commit | abb0ed44957cb4ba1bc94d19202860f10369cea1 (patch) | |
tree | b42fadb8c67849fc3fb00c0e8101549028168916 /lldb/source/Commands/CommandObjectBreakpointCommand.cpp | |
parent | 7a29b0b58383e8ceb751144fe638c46cacc6fe40 (diff) | |
download | llvm-abb0ed44957cb4ba1bc94d19202860f10369cea1.zip llvm-abb0ed44957cb4ba1bc94d19202860f10369cea1.tar.gz llvm-abb0ed44957cb4ba1bc94d19202860f10369cea1.tar.bz2 |
[Commands] Remove redundant member initialization (NFC)
Identified with readability-redundant-member-init.
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpointCommand.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectBreakpointCommand.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp index 26d35c8..637e8b8 100644 --- a/lldb/source/Commands/CommandObjectBreakpointCommand.cpp +++ b/lldb/source/Commands/CommandObjectBreakpointCommand.cpp @@ -69,7 +69,7 @@ public: nullptr), IOHandlerDelegateMultiline("DONE", IOHandlerDelegate::Completion::LLDBCommand), - m_options(), m_func_options("breakpoint command", false, 'F') { + m_func_options("breakpoint command", false, 'F') { SetHelpLong( R"( General information about entering breakpoint commands @@ -281,7 +281,7 @@ are no syntax errors may indicate that a function was declared but never called. class CommandOptions : public OptionGroup { public: - CommandOptions() : OptionGroup(), m_one_liner() {} + CommandOptions() {} ~CommandOptions() override = default; @@ -479,8 +479,7 @@ public: CommandObjectBreakpointCommandDelete(CommandInterpreter &interpreter) : CommandObjectParsed(interpreter, "delete", "Delete the set of commands from a breakpoint.", - nullptr), - m_options() { + nullptr) { CommandArgumentEntry arg; CommandArgumentData bp_id_arg; @@ -502,7 +501,7 @@ public: class CommandOptions : public Options { public: - CommandOptions() : Options() {} + CommandOptions() {} ~CommandOptions() override = default; |