aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectRegister.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-01-23 11:07:14 -0800
committerKazu Hirata <kazu@google.com>2022-01-23 11:07:14 -0800
commitabb0ed44957cb4ba1bc94d19202860f10369cea1 (patch)
treeb42fadb8c67849fc3fb00c0e8101549028168916 /lldb/source/Commands/CommandObjectRegister.cpp
parent7a29b0b58383e8ceb751144fe638c46cacc6fe40 (diff)
downloadllvm-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/CommandObjectRegister.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectRegister.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Commands/CommandObjectRegister.cpp b/lldb/source/Commands/CommandObjectRegister.cpp
index 6fd71c9..933c243 100644
--- a/lldb/source/Commands/CommandObjectRegister.cpp
+++ b/lldb/source/Commands/CommandObjectRegister.cpp
@@ -43,8 +43,7 @@ public:
nullptr,
eCommandRequiresFrame | eCommandRequiresRegContext |
eCommandProcessMustBeLaunched | eCommandProcessMustBePaused),
- m_option_group(), m_format_options(eFormatDefault),
- m_command_options() {
+ m_format_options(eFormatDefault) {
CommandArgumentEntry arg;
CommandArgumentData register_arg;
@@ -232,8 +231,7 @@ protected:
class CommandOptions : public OptionGroup {
public:
CommandOptions()
- : OptionGroup(),
- set_indexes(OptionValue::ConvertTypeToMask(OptionValue::eTypeUInt64)),
+ : set_indexes(OptionValue::ConvertTypeToMask(OptionValue::eTypeUInt64)),
dump_all_sets(false, false), // Initial and default values are false
alternate_name(false, false) {}