/external/llvm-project/clang/lib/AST/ |
D | DeclCXX.cpp | 225 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/ |
D | DeclCXX.cpp | 172 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/ |
D | CGClass.cpp | 566 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 …]
|
D | CGCXXABI.h | 273 const CXXRecordDecl *BaseClassDecl) = 0;
|
D | ItaniumCXXABI.cpp | 202 const CXXRecordDecl *BaseClassDecl) override; 1568 const CXXRecordDecl *BaseClassDecl) { in GetVirtualBaseClassOffset() argument 1572 BaseClassDecl); in GetVirtualBaseClassOffset()
|
D | MicrosoftCXXABI.cpp | 163 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/ |
D | ProTypeMemberInitCheck.cpp | 488 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/ |
D | CGClass.cpp | 530 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 …]
|
D | CGCXXABI.h | 279 const CXXRecordDecl *BaseClassDecl) = 0;
|
D | ItaniumCXXABI.cpp | 203 const CXXRecordDecl *BaseClassDecl) override; 1307 const CXXRecordDecl *BaseClassDecl) { in GetVirtualBaseClassOffset() argument 1311 BaseClassDecl); in GetVirtualBaseClassOffset()
|
D | MicrosoftCXXABI.cpp | 162 const CXXRecordDecl *BaseClassDecl) override; 1046 const CXXRecordDecl *BaseClassDecl) { in GetVirtualBaseClassOffset() argument 1054 CGM.getMicrosoftVTableContext().getVBTableIndex(ClassDecl, BaseClassDecl); in GetVirtualBaseClassOffset()
|
/external/clang/lib/Sema/ |
D | SemaCUDA.cpp | 258 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(BaseType->getDecl()); in inferCUDATargetForImplicitSpecialMember() local 260 LookupSpecialMember(BaseClassDecl, CSM, in inferCUDATargetForImplicitSpecialMember()
|
D | SemaDeclCXX.cpp | 4332 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/ |
D | SemaCUDA.cpp | 326 CXXRecordDecl *BaseClassDecl = cast<CXXRecordDecl>(BaseType->getDecl()); in inferCUDATargetForImplicitSpecialMember() local 328 LookupSpecialMember(BaseClassDecl, CSM, in inferCUDATargetForImplicitSpecialMember()
|
D | SemaDeclCXX.cpp | 5531 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()
|