aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectBreakpoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectBreakpoint.cpp56
1 files changed, 21 insertions, 35 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp
index 3f88a2fa6378..c4e55fdb3b9c 100644
--- a/lldb/source/Commands/CommandObjectBreakpoint.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp
@@ -49,7 +49,7 @@ static void AddBreakpointDescription(Stream *s, Breakpoint *bp,
class lldb_private::BreakpointOptionGroup : public OptionGroup {
public:
- BreakpointOptionGroup() : OptionGroup(), m_bp_opts(false) {}
+ BreakpointOptionGroup() : m_bp_opts(false) {}
~BreakpointOptionGroup() override = default;
@@ -179,7 +179,7 @@ public:
class BreakpointDummyOptionGroup : public OptionGroup {
public:
- BreakpointDummyOptionGroup() : OptionGroup() {}
+ BreakpointDummyOptionGroup() {}
~BreakpointDummyOptionGroup() override = default;
@@ -234,8 +234,7 @@ public:
interpreter, "breakpoint set",
"Sets a breakpoint or set of breakpoints in the executable.",
"breakpoint set <cmd-options>"),
- m_bp_opts(), m_python_class_options("scripted breakpoint", true, 'P'),
- m_options() {
+ m_python_class_options("scripted breakpoint", true, 'P') {
// We're picking up all the normal options, commands and disable.
m_all_options.Append(&m_python_class_options,
LLDB_OPT_SET_1 | LLDB_OPT_SET_2, LLDB_OPT_SET_11);
@@ -253,9 +252,7 @@ public:
class CommandOptions : public OptionGroup {
public:
- CommandOptions()
- : OptionGroup(), m_condition(), m_filenames(), m_func_names(),
- m_func_regexp(), m_source_text_regexp(), m_modules() {}
+ CommandOptions() {}
~CommandOptions() override = default;
@@ -809,8 +806,7 @@ public:
"created breakpoint. "
"With the exception of -e, -d and -i, passing an "
"empty argument clears the modification.",
- nullptr),
- m_options() {
+ nullptr) {
CommandArgumentEntry arg;
CommandObject::AddIDsArgumentData(arg, eArgTypeBreakpointID,
eArgTypeBreakpointIDRange);
@@ -1100,8 +1096,7 @@ public:
: CommandObjectParsed(
interpreter, "breakpoint list",
"List some or all breakpoints at configurable levels of detail.",
- nullptr),
- m_options() {
+ nullptr) {
CommandArgumentEntry arg;
CommandArgumentData bp_id_arg;
@@ -1123,7 +1118,7 @@ public:
class CommandOptions : public Options {
public:
- CommandOptions() : Options() {}
+ CommandOptions() {}
~CommandOptions() override = default;
@@ -1246,8 +1241,7 @@ public:
: CommandObjectParsed(interpreter, "breakpoint clear",
"Delete or disable breakpoints matching the "
"specified source file and line.",
- "breakpoint clear <cmd-options>"),
- m_options() {}
+ "breakpoint clear <cmd-options>") {}
~CommandObjectBreakpointClear() override = default;
@@ -1255,7 +1249,7 @@ public:
class CommandOptions : public Options {
public:
- CommandOptions() : Options(), m_filename() {}
+ CommandOptions() {}
~CommandOptions() override = default;
@@ -1384,8 +1378,7 @@ public:
: CommandObjectParsed(interpreter, "breakpoint delete",
"Delete the specified breakpoint(s). If no "
"breakpoints are specified, delete them all.",
- nullptr),
- m_options() {
+ nullptr) {
CommandArgumentEntry arg;
CommandObject::AddIDsArgumentData(arg, eArgTypeBreakpointID,
eArgTypeBreakpointIDRange);
@@ -1408,7 +1401,7 @@ public:
class CommandOptions : public Options {
public:
- CommandOptions() : Options() {}
+ CommandOptions() {}
~CommandOptions() override = default;
@@ -1565,8 +1558,7 @@ private:
class BreakpointNameOptionGroup : public OptionGroup {
public:
BreakpointNameOptionGroup()
- : OptionGroup(), m_breakpoint(LLDB_INVALID_BREAK_ID), m_use_dummy(false) {
- }
+ : m_breakpoint(LLDB_INVALID_BREAK_ID), m_use_dummy(false) {}
~BreakpointNameOptionGroup() override = default;
@@ -1626,7 +1618,7 @@ public:
class BreakpointAccessOptionGroup : public OptionGroup {
public:
- BreakpointAccessOptionGroup() : OptionGroup() {}
+ BreakpointAccessOptionGroup() {}
~BreakpointAccessOptionGroup() override = default;
@@ -1696,8 +1688,7 @@ public:
"the breakpoint, otherwise only the options specified will be set "
"on the name.",
"breakpoint name configure <command-options> "
- "<breakpoint-name-list>"),
- m_bp_opts(), m_option_group() {
+ "<breakpoint-name-list>") {
// Create the first variant for the first (and only) argument for this
// command.
CommandArgumentEntry arg1;
@@ -1787,8 +1778,7 @@ public:
CommandObjectBreakpointNameAdd(CommandInterpreter &interpreter)
: CommandObjectParsed(
interpreter, "add", "Add a name to the breakpoints provided.",
- "breakpoint name add <command-options> <breakpoint-id-list>"),
- m_name_options(), m_option_group() {
+ "breakpoint name add <command-options> <breakpoint-id-list>") {
// Create the first variant for the first (and only) argument for this
// command.
CommandArgumentEntry arg1;
@@ -1872,8 +1862,7 @@ public:
: CommandObjectParsed(
interpreter, "delete",
"Delete a name from the breakpoints provided.",
- "breakpoint name delete <command-options> <breakpoint-id-list>"),
- m_name_options(), m_option_group() {
+ "breakpoint name delete <command-options> <breakpoint-id-list>") {
// Create the first variant for the first (and only) argument for this
// command.
CommandArgumentEntry arg1;
@@ -1956,8 +1945,7 @@ public:
"List either the names for a breakpoint or info "
"about a given name. With no arguments, lists all "
"names",
- "breakpoint name list <command-options>"),
- m_name_options(), m_option_group() {
+ "breakpoint name list <command-options>") {
m_option_group.Append(&m_name_options, LLDB_OPT_SET_3, LLDB_OPT_SET_ALL);
m_option_group.Finalize();
}
@@ -2063,8 +2051,7 @@ public:
: CommandObjectParsed(interpreter, "breakpoint read",
"Read and set the breakpoints previously saved to "
"a file with \"breakpoint write\". ",
- nullptr),
- m_options() {}
+ nullptr) {}
~CommandObjectBreakpointRead() override = default;
@@ -2072,7 +2059,7 @@ public:
class CommandOptions : public Options {
public:
- CommandOptions() : Options() {}
+ CommandOptions() {}
~CommandOptions() override = default;
@@ -2245,8 +2232,7 @@ public:
"Write the breakpoints listed to a file that can "
"be read in with \"breakpoint read\". "
"If given no arguments, writes all breakpoints.",
- nullptr),
- m_options() {
+ nullptr) {
CommandArgumentEntry arg;
CommandObject::AddIDsArgumentData(arg, eArgTypeBreakpointID,
eArgTypeBreakpointIDRange);
@@ -2269,7 +2255,7 @@ public:
class CommandOptions : public Options {
public:
- CommandOptions() : Options() {}
+ CommandOptions() {}
~CommandOptions() override = default;