• Home
  • Raw
  • Download

Lines Matching refs:PrimaryBase

626   if (const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase()) {  in AddVCallAndVBaseOffsets()  local
633 assert(Layout.getVBaseClassOffset(PrimaryBase).isZero() && in AddVCallAndVBaseOffsets()
640 MostDerivedClassLayout.getVBaseClassOffset(PrimaryBase); in AddVCallAndVBaseOffsets()
642 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in AddVCallAndVBaseOffsets()
649 BaseSubobject(PrimaryBase,PrimaryBaseOffset), in AddVCallAndVBaseOffsets()
678 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase(); in AddVCallOffsets() local
683 if (PrimaryBase && !Layout.isPrimaryBaseVirtual()) { in AddVCallOffsets()
685 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in AddVCallOffsets()
688 AddVCallOffsets(BaseSubobject(PrimaryBase, Base.getBaseOffset()), in AddVCallOffsets()
732 if (BaseDecl == PrimaryBase) in AddVCallOffsets()
1377 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase(); in IsOverriderUsed() local
1379 if (!PrimaryBase) in IsOverriderUsed()
1383 assert(Layout.getVBaseClassOffset(PrimaryBase).isZero() && in IsOverriderUsed()
1391 if (LayoutClassLayout.getVBaseClassOffset(PrimaryBase) != in IsOverriderUsed()
1397 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in IsOverriderUsed()
1401 if (!PrimaryBases.insert(PrimaryBase)) in IsOverriderUsed()
1404 RD = PrimaryBase; in IsOverriderUsed()
1421 const CXXRecordDecl *PrimaryBase = Bases[I - 1]; in FindNearestOverriddenMethod() local
1429 if (OverriddenMD->getParent() == PrimaryBase) in FindNearestOverriddenMethod()
1445 if (const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase()) { in AddMethods() local
1449 assert(Layout.getVBaseClassOffset(PrimaryBase).isZero() && in AddMethods()
1456 MostDerivedClassLayout.getVBaseClassOffset(PrimaryBase); in AddMethods()
1462 LayoutClassLayout.getVBaseClassOffset(PrimaryBase); in AddMethods()
1464 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in AddMethods()
1471 AddMethods(BaseSubobject(PrimaryBase, PrimaryBaseOffset), in AddMethods()
1475 if (!PrimaryBases.insert(PrimaryBase)) in AddMethods()
1656 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase(); in LayoutPrimaryAndSecondaryVTables() local
1658 if (!PrimaryBase) in LayoutPrimaryAndSecondaryVTables()
1667 if (LayoutClassLayout.getVBaseClassOffset(PrimaryBase) != in LayoutPrimaryAndSecondaryVTables()
1674 RD = PrimaryBase; in LayoutPrimaryAndSecondaryVTables()
1691 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase(); in LayoutSecondaryVTables() local
1725 if (BaseDecl == PrimaryBase) { in LayoutSecondaryVTables()
1747 if (const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase()) { in DeterminePrimaryVirtualBases() local
1760 LayoutClassLayout.getVBaseClassOffset(PrimaryBase); in DeterminePrimaryVirtualBases()
1769 PrimaryVirtualBases.insert(PrimaryBase); in DeterminePrimaryVirtualBases()
2208 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase(); in CollectPrimaryBases() local
2210 if (!PrimaryBase) in CollectPrimaryBases()
2213 CollectPrimaryBases(PrimaryBase, Context, PrimaryBases); in CollectPrimaryBases()
2215 if (!PrimaryBases.insert(PrimaryBase)) in CollectPrimaryBases()
2233 const CXXRecordDecl *PrimaryBase = Layout.getPrimaryBase(); in ComputeMethodVTableIndices() local
2235 if (PrimaryBase) { in ComputeMethodVTableIndices()
2236 assert(PrimaryBase->isCompleteDefinition() && in ComputeMethodVTableIndices()
2241 CurrentIndex = getNumVirtualFunctionPointers(PrimaryBase); in ComputeMethodVTableIndices()