[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

@@ -507,7 +507,7 @@ FindArchDefinitionEntry(const ArchDefinition *def, ArchSpec::Core core) {
//===----------------------------------------------------------------------===//
// Constructors and destructors.
ArchSpec::ArchSpec() {}
ArchSpec::ArchSpec() = default;
ArchSpec::ArchSpec(const char *triple_cstr) {
if (triple_cstr)