aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectSettings.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/CommandObjectSettings.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/CommandObjectSettings.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectSettings.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/lldb/source/Commands/CommandObjectSettings.cpp b/lldb/source/Commands/CommandObjectSettings.cpp
index 13ff27c..391e728 100644
--- a/lldb/source/Commands/CommandObjectSettings.cpp
+++ b/lldb/source/Commands/CommandObjectSettings.cpp
@@ -27,8 +27,7 @@ class CommandObjectSettingsSet : public CommandObjectRaw {
public:
CommandObjectSettingsSet(CommandInterpreter &interpreter)
: CommandObjectRaw(interpreter, "settings set",
- "Set the value of the specified debugger setting."),
- m_options() {
+ "Set the value of the specified debugger setting.") {
CommandArgumentEntry arg1;
CommandArgumentEntry arg2;
CommandArgumentData var_name_arg;
@@ -87,7 +86,7 @@ insert-before or insert-after.");
class CommandOptions : public Options {
public:
- CommandOptions() : Options() {}
+ CommandOptions() {}
~CommandOptions() override = default;
@@ -304,8 +303,7 @@ public:
"Write matching debugger settings and their "
"current values to a file that can be read in with "
"\"settings read\". Defaults to writing all settings.",
- nullptr),
- m_options() {
+ nullptr) {
CommandArgumentEntry arg1;
CommandArgumentData var_name_arg;
@@ -327,7 +325,7 @@ public:
class CommandOptions : public Options {
public:
- CommandOptions() : Options() {}
+ CommandOptions() {}
~CommandOptions() override = default;
@@ -417,8 +415,7 @@ public:
: CommandObjectParsed(
interpreter, "settings read",
"Read settings previously saved to a file with \"settings write\".",
- nullptr),
- m_options() {}
+ nullptr) {}
~CommandObjectSettingsRead() override = default;
@@ -426,7 +423,7 @@ public:
class CommandOptions : public Options {
public:
- CommandOptions() : Options() {}
+ CommandOptions() {}
~CommandOptions() override = default;