mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 19:44:38 +08:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user