diff options
author | Shafik Yaghmour <syaghmour@apple.com> | 2022-03-31 13:20:46 -0700 |
---|---|---|
committer | Shafik Yaghmour <syaghmour@apple.com> | 2022-03-31 13:21:49 -0700 |
commit | 24f9a2f53db78df59761f46ceed3bb5e7aa0d331 (patch) | |
tree | b87064847eb692b5e8a7f2c11eeafd33b091ae85 /lldb/source/Commands/CommandObjectSource.cpp | |
parent | 585c85abe545a42a47a3b3d0411b91421e9552e9 (diff) | |
download | llvm-24f9a2f53db78df59761f46ceed3bb5e7aa0d331.zip llvm-24f9a2f53db78df59761f46ceed3bb5e7aa0d331.tar.gz llvm-24f9a2f53db78df59761f46ceed3bb5e7aa0d331.tar.bz2 |
[LLDB] Applying clang-tidy modernize-use-equals-default over LLDB
Applied modernize-use-equals-default clang-tidy check over LLDB.
This check is already present in the lldb/.clang-tidy config.
Differential Revision: https://reviews.llvm.org/D121844
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectSource.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectSource.cpp b/lldb/source/Commands/CommandObjectSource.cpp index 79f1ce4..67286c2 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() {} + CommandOptions() = default; ~CommandOptions() override = default; @@ -623,7 +623,7 @@ protected: class CommandObjectSourceList : public CommandObjectParsed { class CommandOptions : public Options { public: - CommandOptions() {} + CommandOptions() = default; ~CommandOptions() override = default; @@ -755,7 +755,7 @@ protected: SourceInfo(ConstString name, const LineEntry &line_entry) : function(name), line_entry(line_entry) {} - SourceInfo() {} + SourceInfo() = default; bool IsValid() const { return (bool)function && line_entry.IsValid(); } |