[lldb] Replace default bodies of special member functions with = default;

Replace default bodies of special member functions with = default;

$ run-clang-tidy.py -header-filter='lldb' -checks='-*,modernize-use-equals-default' -fix ,

https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-equals-default.html

Differential revision: https://reviews.llvm.org/D104041
This commit is contained in:
Jonas Devlieghere
2021-07-02 11:27:37 -07:00
parent 678211de6d
commit fd2433e139
264 changed files with 378 additions and 398 deletions

View File

@@ -263,7 +263,7 @@ ObjectFilePECOFF::ObjectFilePECOFF(const lldb::ModuleSP &module_sp,
::memset(&m_coff_header, 0, sizeof(m_coff_header));
}
ObjectFilePECOFF::~ObjectFilePECOFF() {}
ObjectFilePECOFF::~ObjectFilePECOFF() = default;
bool ObjectFilePECOFF::ParseHeader() {
ModuleSP module_sp(GetModule());