Home
last modified time | relevance | path

Searched refs:BasesToInit (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseEqualsDefaultCheck.cpp70 auto BasesToInit = getAllDirectBases(Record); in isCopyConstructorAndCanBeDefaulted() local
74 for (const auto *Base : BasesToInit) { in isCopyConstructorAndCanBeDefaulted()
118 BasesToInit.size() + FieldsToInit.size(); in isCopyConstructorAndCanBeDefaulted()
130 auto BasesToInit = getAllDirectBases(Record); in isCopyAssignmentAndCanBeDefaulted() local
148 for (const auto *Base : BasesToInit) { in isCopyAssignmentAndCanBeDefaulted()
200 return Compound->size() == BasesToInit.size() + FieldsToInit.size() + 1; in isCopyAssignmentAndCanBeDefaulted()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DProTypeMemberInitCheck.cpp486 SmallPtrSet<const RecordDecl *, 4> BasesToInit; in checkMissingBaseClassInitializer() local
493 BasesToInit.insert(BaseClassDecl); in checkMissingBaseClassInitializer()
497 if (BasesToInit.empty()) in checkMissingBaseClassInitializer()
507 BasesToInit.erase(Init->getBaseClass()->getAsCXXRecordDecl()); in checkMissingBaseClassInitializer()
511 if (BasesToInit.empty()) in checkMissingBaseClassInitializer()
517 << toCommaSeparatedString(AllBases, BasesToInit); in checkMissingBaseClassInitializer()
520 fixInitializerList(Context, Diag, Ctor, BasesToInit); in checkMissingBaseClassInitializer()