Lines Matching defs:PrimaryBase
642 /// PrimaryBase - the primary base class (if one exists) of the class
644 const CXXRecordDecl *PrimaryBase;
700 PaddedFieldSize(CharUnits::Zero()), PrimaryBase(nullptr),
838 PrimaryBase = Base;
849 if (PrimaryBase)
876 PrimaryBase = Base;
888 if (PrimaryBase)
894 PrimaryBase = FirstNearlyEmptyVBase;
899 assert(!PrimaryBase && "Should not get here with a primary base!");
1029 if (PrimaryBase) {
1033 BaseSubobjectInfo *PrimaryBaseInfo = VirtualBaseInfo.lookup(PrimaryBase);
1037 IndirectPrimaryBases.insert(PrimaryBase);
1039 assert(!VisitedVirtualBases.count(PrimaryBase) &&
1041 VisitedVirtualBases.insert(PrimaryBase);
1046 NonVirtualBaseInfo.lookup(PrimaryBase);
1083 if (BaseDecl == PrimaryBase && !PrimaryBaseIsVirtual)
1141 const CXXRecordDecl *PrimaryBase;
1145 PrimaryBase = this->PrimaryBase;
1149 PrimaryBase = Layout.getPrimaryBase();
1160 if (PrimaryBase != BaseDecl || !PrimaryBaseIsVirtual) {
2631 const CXXRecordDecl *PrimaryBase;
2804 PrimaryBase = nullptr;
2846 if (!PrimaryBase) {
2847 PrimaryBase = BaseDecl;
2859 else if (!PrimaryBase) {
2873 bool CheckLeadingLayout = !PrimaryBase;
3353 Builder.HasOwnVFPtr || Builder.PrimaryBase, Builder.VBPtrOffset,
3356 Builder.PrimaryBase, false, Builder.SharedVBPtrBase,
3392 EmptySubobjects.SizeOfLargestEmptySubobject, Builder.PrimaryBase,
3616 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase();
3621 if (CXXRD->isDynamicClass() && !PrimaryBase && !isMsLayout(C)) {
3649 Base == PrimaryBase ? "(primary base)" : "(base)",