Home
last modified time | relevance | path

Searched refs:PrimaryBase (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/AST/
DRecordLayout.cpp50 const CXXRecordDecl *PrimaryBase, in ASTRecordLayout() argument
62 CXXInfo->PrimaryBase.setPointer(PrimaryBase); in ASTRecordLayout()
63 CXXInfo->PrimaryBase.setInt(IsPrimaryBaseVirtual); in ASTRecordLayout()
78 if (const CXXRecordDecl *PrimaryBase = getPrimaryBase()) { in ASTRecordLayout() local
81 assert(getVBaseClassOffset(PrimaryBase).isZero() && in ASTRecordLayout()
85 assert(getBaseClassOffset(PrimaryBase).isZero() && in ASTRecordLayout()
DVTableBuilder.cpp625 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()
[all …]
DRecordLayoutBuilder.cpp625 const CXXRecordDecl *PrimaryBase; member in __anon909ef7540111::ItaniumRecordLayoutBuilder
667 NonVirtualAlignment(CharUnits::One()), PrimaryBase(nullptr), in ItaniumRecordLayoutBuilder()
800 PrimaryBase = Base; in SelectPrimaryVBase()
811 if (PrimaryBase) in SelectPrimaryVBase()
838 PrimaryBase = Base; in DeterminePrimaryBase()
850 if (PrimaryBase) in DeterminePrimaryBase()
856 PrimaryBase = FirstNearlyEmptyVBase; in DeterminePrimaryBase()
861 assert(!PrimaryBase && "Should not get here with a primary base!"); in DeterminePrimaryBase()
992 if (PrimaryBase) { in LayoutNonVirtualBases()
996 BaseSubobjectInfo *PrimaryBaseInfo = VirtualBaseInfo.lookup(PrimaryBase); in LayoutNonVirtualBases()
[all …]
/external/clang/include/clang/AST/
DRecordLayout.h114 llvm::PointerIntPair<const CXXRecordDecl *, 1, bool> PrimaryBase; member
150 const CXXRecordDecl *PrimaryBase,
207 return CXXInfo->PrimaryBase.getPointer(); in getPrimaryBase()
215 return CXXInfo->PrimaryBase.getInt(); in isPrimaryBaseVirtual()