diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2022-01-27 22:06:42 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2022-01-27 22:06:42 +0000 |
| commit | 6f8fc217eaa12bf657be1c6468ed9938d10168b3 (patch) | |
| tree | a1fd89b864d9b93e2ad68fe1dcf7afee2e3c8d76 /lldb/source/Commands/CommandObjectSource.cpp | |
| parent | 77fc4c146f0870ffb09c1afb823ccbe742c5e6ff (diff) | |
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
| -rw-r--r-- | lldb/source/Commands/CommandObjectSource.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lldb/source/Commands/CommandObjectSource.cpp b/lldb/source/Commands/CommandObjectSource.cpp index fb33f41b8ef9..6c6706f4a98b 100644 --- a/lldb/source/Commands/CommandObjectSource.cpp +++ b/lldb/source/Commands/CommandObjectSource.cpp @@ -36,7 +36,7 @@ using namespace lldb_private; class CommandObjectSourceInfo : public CommandObjectParsed { class CommandOptions : public Options { public: - CommandOptions() : Options() {} + CommandOptions() {} ~CommandOptions() override = default; @@ -118,8 +118,7 @@ public: "Display source line information for the current target " "process. Defaults to instruction pointer in current stack " "frame.", - nullptr, eCommandRequiresTarget), - m_options() {} + nullptr, eCommandRequiresTarget) {} ~CommandObjectSourceInfo() override = default; @@ -624,7 +623,7 @@ protected: class CommandObjectSourceList : public CommandObjectParsed { class CommandOptions : public Options { public: - CommandOptions() : Options() {} + CommandOptions() {} ~CommandOptions() override = default; @@ -723,8 +722,7 @@ public: : CommandObjectParsed(interpreter, "source list", "Display source code for the current target " "process as specified by options.", - nullptr, eCommandRequiresTarget), - m_options() {} + nullptr, eCommandRequiresTarget) {} ~CommandObjectSourceList() override = default; @@ -757,7 +755,7 @@ protected: SourceInfo(ConstString name, const LineEntry &line_entry) : function(name), line_entry(line_entry) {} - SourceInfo() : function(), line_entry() {} + SourceInfo() {} bool IsValid() const { return (bool)function && line_entry.IsValid(); } |
