Home
last modified time | relevance | path

Searched refs:BaseClassDecl (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/clang/lib/AST/
DDeclCXX.cpp225 auto *BaseClassDecl = in setBases() local
233 if (BaseClassDecl->data().HasBasesWithFields || in setBases()
234 !BaseClassDecl->field_empty()) { in setBases()
245 if (BaseClassDecl->data().HasBasesWithNonStaticDataMembers || in setBases()
246 BaseClassDecl->hasDirectFields()) { in setBases()
252 if (!BaseClassDecl->isEmpty()) { in setBases()
273 if (BaseClassDecl->isPolymorphic()) { in setBases()
283 if (!BaseClassDecl->isStandardLayout()) in setBases()
285 if (!BaseClassDecl->isCXX11StandardLayout()) in setBases()
293 for (const auto &VBase : BaseClassDecl->vbases()) { in setBases()
[all …]
/external/clang/lib/AST/
DDeclCXX.cpp172 CXXRecordDecl *BaseClassDecl in setBases() local
175 if (!BaseClassDecl->isEmpty()) { in setBases()
203 if (BaseClassDecl->isPolymorphic()) in setBases()
209 if (!BaseClassDecl->isStandardLayout()) in setBases()
217 for (const auto &VBase : BaseClassDecl->vbases()) { in setBases()
271 if (!BaseClassDecl->hasTrivialDefaultConstructor()) in setBases()
279 if (!BaseClassDecl->hasTrivialCopyConstructor()) in setBases()
285 if (!BaseClassDecl->hasTrivialMoveConstructor()) in setBases()
293 if (!BaseClassDecl->hasTrivialCopyAssignment()) in setBases()
299 if (!BaseClassDecl->hasTrivialMoveAssignment()) in setBases()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGClass.cpp566 const auto *BaseClassDecl = in EmitBaseInitializer() local
581 BaseClassDecl, in EmitBaseInitializer()
589 CGF.getOverlapForBaseInit(ClassDecl, BaseClassDecl, isBaseVirtual)); in EmitBaseInitializer()
594 !BaseClassDecl->hasTrivialDestructor()) in EmitBaseInitializer()
595 CGF.EHStack.pushCleanup<CallBaseDtor>(EHCleanup, BaseClassDecl, in EmitBaseInitializer()
1272 const auto *BaseClassDecl = in isInitializerOfDynamicClass() local
1274 return BaseClassDecl->isDynamicClass(); in isInitializerOfDynamicClass()
1362 const CXXRecordDecl *BaseClassDecl, in HasTrivialDestructorBody() argument
1366 if (BaseClassDecl->hasTrivialDestructor()) in HasTrivialDestructorBody()
1369 if (!BaseClassDecl->getDestructor()->hasTrivialBody()) in HasTrivialDestructorBody()
[all …]
DCGCXXABI.h273 const CXXRecordDecl *BaseClassDecl) = 0;
DItaniumCXXABI.cpp202 const CXXRecordDecl *BaseClassDecl) override;
1568 const CXXRecordDecl *BaseClassDecl) { in GetVirtualBaseClassOffset() argument
1572 BaseClassDecl); in GetVirtualBaseClassOffset()
DMicrosoftCXXABI.cpp163 const CXXRecordDecl *BaseClassDecl) override;
1041 const CXXRecordDecl *BaseClassDecl) { in GetVirtualBaseClassOffset() argument
1049 CGM.getMicrosoftVTableContext().getVBTableIndex(ClassDecl, BaseClassDecl); in GetVirtualBaseClassOffset()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DProTypeMemberInitCheck.cpp488 if (const auto *BaseClassDecl = getCanonicalRecordDecl(Base.getType())) { in checkMissingBaseClassInitializer() local
489 AllBases.emplace_back(BaseClassDecl); in checkMissingBaseClassInitializer()
490 if (!BaseClassDecl->field_empty() && in checkMissingBaseClassInitializer()
493 BasesToInit.insert(BaseClassDecl); in checkMissingBaseClassInitializer()
/external/clang/lib/CodeGen/
DCGClass.cpp530 CXXRecordDecl *BaseClassDecl = in EmitBaseInitializer() local
549 BaseClassDecl, in EmitBaseInitializer()
560 !BaseClassDecl->hasTrivialDestructor()) in EmitBaseInitializer()
561 CGF.EHStack.pushCleanup<CallBaseDtor>(EHCleanup, BaseClassDecl, in EmitBaseInitializer()
1345 const auto *BaseClassDecl = in isInitializerOfDynamicClass() local
1347 return BaseClassDecl->isDynamicClass(); in isInitializerOfDynamicClass()
1422 const CXXRecordDecl *BaseClassDecl, in HasTrivialDestructorBody() argument
1426 if (BaseClassDecl->hasTrivialDestructor()) in HasTrivialDestructorBody()
1429 if (!BaseClassDecl->getDestructor()->hasTrivialBody()) in HasTrivialDestructorBody()
1433 for (const auto *Field : BaseClassDecl->fields()) in HasTrivialDestructorBody()
[all …]
DCGCXXABI.h279 const CXXRecordDecl *BaseClassDecl) = 0;
DItaniumCXXABI.cpp203 const CXXRecordDecl *BaseClassDecl) override;
1307 const CXXRecordDecl *BaseClassDecl) { in GetVirtualBaseClassOffset() argument
1311 BaseClassDecl); in GetVirtualBaseClassOffset()
DMicrosoftCXXABI.cpp162 const CXXRecordDecl *BaseClassDecl) override;
1046 const CXXRecordDecl *BaseClassDecl) { in GetVirtualBaseClassOffset() argument
1054 CGM.getMicrosoftVTableContext().getVBTableIndex(ClassDecl, BaseClassDecl); in GetVirtualBaseClassOffset()
/external/clang/lib/Sema/
DSemaCUDA.cpp258 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(BaseType->getDecl()); in inferCUDATargetForImplicitSpecialMember() local
260 LookupSpecialMember(BaseClassDecl, CSM, in inferCUDATargetForImplicitSpecialMember()
DSemaDeclCXX.cpp4332 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(RT->getDecl()); in MarkBaseAndMemberDestructorsReferenced() local
4334 if (BaseClassDecl->isInvalidDecl()) in MarkBaseAndMemberDestructorsReferenced()
4336 if (BaseClassDecl->hasIrrelevantDestructor()) in MarkBaseAndMemberDestructorsReferenced()
4339 CXXDestructorDecl *Dtor = LookupDestructor(BaseClassDecl); in MarkBaseAndMemberDestructorsReferenced()
4362 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(RT->getDecl()); in MarkBaseAndMemberDestructorsReferenced() local
4364 if (BaseClassDecl->isInvalidDecl()) in MarkBaseAndMemberDestructorsReferenced()
4366 if (BaseClassDecl->hasIrrelevantDestructor()) in MarkBaseAndMemberDestructorsReferenced()
4369 CXXDestructorDecl *Dtor = LookupDestructor(BaseClassDecl); in MarkBaseAndMemberDestructorsReferenced()
5257 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(BaseType->getDecl()); in defaultedSpecialMemberIsConstexpr() local
5258 if (!specialMemberIsConstexpr(S, BaseClassDecl, CSM, 0, ConstArg, in defaultedSpecialMemberIsConstexpr()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaCUDA.cpp326 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(BaseType->getDecl()); in inferCUDATargetForImplicitSpecialMember() local
328 LookupSpecialMember(BaseClassDecl, CSM, in inferCUDATargetForImplicitSpecialMember()
DSemaDeclCXX.cpp5531 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(RT->getDecl()); in MarkBaseAndMemberDestructorsReferenced() local
5533 if (BaseClassDecl->isInvalidDecl()) in MarkBaseAndMemberDestructorsReferenced()
5535 if (BaseClassDecl->hasIrrelevantDestructor()) in MarkBaseAndMemberDestructorsReferenced()
5538 CXXDestructorDecl *Dtor = LookupDestructor(BaseClassDecl); in MarkBaseAndMemberDestructorsReferenced()
5568 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(RT->getDecl()); in MarkVirtualBaseDestructorsReferenced() local
5570 if (BaseClassDecl->isInvalidDecl()) in MarkVirtualBaseDestructorsReferenced()
5572 if (BaseClassDecl->hasIrrelevantDestructor()) in MarkVirtualBaseDestructorsReferenced()
5575 CXXDestructorDecl *Dtor = LookupDestructor(BaseClassDecl); in MarkVirtualBaseDestructorsReferenced()
7099 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(BaseType->getDecl()); in defaultedSpecialMemberIsConstexpr() local
7100 if (!specialMemberIsConstexpr(S, BaseClassDecl, CSM, 0, ConstArg, in defaultedSpecialMemberIsConstexpr()