[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
This commit is contained in:
Shafik Yaghmour
2022-03-31 13:20:46 -07:00
parent 585c85abe5
commit 24f9a2f53d
41 changed files with 87 additions and 99 deletions

View File

@@ -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(); }