Lines Matching refs:PrimaryBase
626 if (const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase()) {
633 assert(Layout.getVBaseClassOffsetInBits(PrimaryBase) == 0 &&
640 MostDerivedClassLayout.getVBaseClassOffset(PrimaryBase);
642 assert(Layout.getBaseClassOffsetInBits(PrimaryBase) == 0 &&
649 BaseSubobject(PrimaryBase,PrimaryBaseOffset),
678 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase();
683 if (PrimaryBase && !Layout.isPrimaryBaseVirtual()) {
685 assert(Layout.getBaseClassOffsetInBits(PrimaryBase) == 0 &&
688 AddVCallOffsets(BaseSubobject(PrimaryBase, Base.getBaseOffset()),
732 if (BaseDecl == PrimaryBase)
1367 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase();
1369 if (!PrimaryBase)
1373 assert(Layout.getVBaseClassOffsetInBits(PrimaryBase) == 0 &&
1381 if (LayoutClassLayout.getVBaseClassOffset(PrimaryBase) !=
1387 assert(Layout.getBaseClassOffsetInBits(PrimaryBase) == 0 &&
1391 if (!PrimaryBases.insert(PrimaryBase))
1394 RD = PrimaryBase;
1411 const CXXRecordDecl *PrimaryBase = Bases[I - 1];
1419 if (OverriddenMD->getParent() == PrimaryBase)
1435 if (const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase()) {
1439 assert(Layout.getVBaseClassOffsetInBits(PrimaryBase) == 0 &&
1446 MostDerivedClassLayout.getVBaseClassOffset(PrimaryBase);
1452 LayoutClassLayout.getVBaseClassOffset(PrimaryBase);
1454 assert(Layout.getBaseClassOffsetInBits(PrimaryBase) == 0 &&
1461 AddMethods(BaseSubobject(PrimaryBase, PrimaryBaseOffset),
1465 if (!PrimaryBases.insert(PrimaryBase))
1641 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase();
1643 if (!PrimaryBase)
1652 if (LayoutClassLayout.getVBaseClassOffset(PrimaryBase) !=
1659 RD = PrimaryBase;
1676 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase();
1710 if (BaseDecl == PrimaryBase) {
1732 if (const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase()) {
1745 LayoutClassLayout.getVBaseClassOffset(PrimaryBase);
1754 PrimaryVirtualBases.insert(PrimaryBase);
2175 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase();
2177 if (!PrimaryBase)
2180 CollectPrimaryBases(PrimaryBase, Context, PrimaryBases);
2182 if (!PrimaryBases.insert(PrimaryBase))
2200 const CXXRecordDecl *PrimaryBase
2202 if (PrimaryBase) {
2203 assert(PrimaryBase->isCompleteDefinition() &&
2208 CurrentIndex = getNumVirtualFunctionPointers(PrimaryBase);