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/CommandObjectWatchpointCommand.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/CommandObjectWatchpointCommand.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectWatchpointCommand.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectWatchpointCommand.cpp b/lldb/source/Commands/CommandObjectWatchpointCommand.cpp index 1f4e953..a429e56 100644 --- a/lldb/source/Commands/CommandObjectWatchpointCommand.cpp +++ b/lldb/source/Commands/CommandObjectWatchpointCommand.cpp @@ -66,8 +66,7 @@ public: "commands previously added to it.", nullptr, eCommandRequiresTarget), IOHandlerDelegateMultiline("DONE", - IOHandlerDelegate::Completion::LLDBCommand), - m_options() { + IOHandlerDelegate::Completion::LLDBCommand) { SetHelpLong( R"( General information about entering watchpoint commands @@ -314,7 +313,7 @@ are no syntax errors may indicate that a function was declared but never called. class CommandOptions : public Options { public: - CommandOptions() : Options(), m_one_liner(), m_function_name() {} + CommandOptions() {} ~CommandOptions() override = default; |