Lines Matching defs:PrimaryBase
654 /// PrimaryBase - the primary base class (if one exists) of the class
656 const CXXRecordDecl *PrimaryBase;
712 PaddedFieldSize(CharUnits::Zero()), PrimaryBase(nullptr),
850 PrimaryBase = Base;
861 if (PrimaryBase)
888 PrimaryBase = Base;
900 if (PrimaryBase)
906 PrimaryBase = FirstNearlyEmptyVBase;
911 assert(!PrimaryBase && "Should not get here with a primary base!");
1041 if (PrimaryBase) {
1045 BaseSubobjectInfo *PrimaryBaseInfo = VirtualBaseInfo.lookup(PrimaryBase);
1049 IndirectPrimaryBases.insert(PrimaryBase);
1051 assert(!VisitedVirtualBases.count(PrimaryBase) &&
1053 VisitedVirtualBases.insert(PrimaryBase);
1058 NonVirtualBaseInfo.lookup(PrimaryBase);
1095 if (BaseDecl == PrimaryBase && !PrimaryBaseIsVirtual)
1153 const CXXRecordDecl *PrimaryBase;
1157 PrimaryBase = this->PrimaryBase;
1161 PrimaryBase = Layout.getPrimaryBase();
1172 if (PrimaryBase != BaseDecl || !PrimaryBaseIsVirtual) {
2645 const CXXRecordDecl *PrimaryBase;
2818 PrimaryBase = nullptr;
2860 if (!PrimaryBase) {
2861 PrimaryBase = BaseDecl;
2873 else if (!PrimaryBase) {
2887 bool CheckLeadingLayout = !PrimaryBase;
3367 Builder.HasOwnVFPtr || Builder.PrimaryBase, Builder.VBPtrOffset,
3370 Builder.PrimaryBase, false, Builder.SharedVBPtrBase,
3406 EmptySubobjects.SizeOfLargestEmptySubobject, Builder.PrimaryBase,
3630 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase();
3635 if (CXXRD->isDynamicClass() && !PrimaryBase && !isMsLayout(C)) {
3663 Base == PrimaryBase ? "(primary base)" : "(base)",