mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 11:02:04 +08:00
[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:
@@ -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(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user