Lines Matching refs:PrimaryBase
625 if (const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase()) { in AddVCallAndVBaseOffsets() local
632 assert(Layout.getVBaseClassOffset(PrimaryBase).isZero() && in AddVCallAndVBaseOffsets()
639 MostDerivedClassLayout.getVBaseClassOffset(PrimaryBase); in AddVCallAndVBaseOffsets()
641 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in AddVCallAndVBaseOffsets()
648 BaseSubobject(PrimaryBase,PrimaryBaseOffset), in AddVCallAndVBaseOffsets()
677 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase(); in AddVCallOffsets() local
682 if (PrimaryBase && !Layout.isPrimaryBaseVirtual()) { in AddVCallOffsets()
684 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in AddVCallOffsets()
687 AddVCallOffsets(BaseSubobject(PrimaryBase, Base.getBaseOffset()), in AddVCallOffsets()
726 if (BaseDecl == PrimaryBase) in AddVCallOffsets()
1381 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase(); in IsOverriderUsed() local
1383 if (!PrimaryBase) in IsOverriderUsed()
1387 assert(Layout.getVBaseClassOffset(PrimaryBase).isZero() && in IsOverriderUsed()
1395 if (LayoutClassLayout.getVBaseClassOffset(PrimaryBase) != in IsOverriderUsed()
1401 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in IsOverriderUsed()
1405 if (!PrimaryBases.insert(PrimaryBase)) in IsOverriderUsed()
1408 RD = PrimaryBase; in IsOverriderUsed()
1427 for (const CXXRecordDecl *PrimaryBase : in FindNearestOverriddenMethod() local
1432 if (OverriddenMD->getParent() == PrimaryBase) in FindNearestOverriddenMethod()
1457 if (const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase()) { in AddMethods() local
1461 assert(Layout.getVBaseClassOffset(PrimaryBase).isZero() && in AddMethods()
1468 MostDerivedClassLayout.getVBaseClassOffset(PrimaryBase); in AddMethods()
1474 LayoutClassLayout.getVBaseClassOffset(PrimaryBase); in AddMethods()
1476 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in AddMethods()
1483 AddMethods(BaseSubobject(PrimaryBase, PrimaryBaseOffset), in AddMethods()
1487 if (!PrimaryBases.insert(PrimaryBase)) in AddMethods()
1703 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase(); in LayoutPrimaryAndSecondaryVTables() local
1705 if (!PrimaryBase) in LayoutPrimaryAndSecondaryVTables()
1714 if (LayoutClassLayout.getVBaseClassOffset(PrimaryBase) != in LayoutPrimaryAndSecondaryVTables()
1721 RD = PrimaryBase; in LayoutPrimaryAndSecondaryVTables()
1739 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase(); in LayoutSecondaryVTables() local
1771 if (BaseDecl == PrimaryBase) { in LayoutSecondaryVTables()
1792 if (const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase()) { in DeterminePrimaryVirtualBases() local
1805 LayoutClassLayout.getVBaseClassOffset(PrimaryBase); in DeterminePrimaryVirtualBases()
1814 PrimaryVirtualBases.insert(PrimaryBase); in DeterminePrimaryVirtualBases()
2943 } else if (const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase()) { in AddMethods() local
2946 NextBase = PrimaryBase; in AddMethods()