Searched refs:BaseRD (Results 1 – 6 of 6) sorted by relevance
259 const CXXRecordDecl *BaseRD, in ComputeBaseOffset() argument264 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeBaseOffset()318 const CXXRecordDecl *BaseRD = in ComputeReturnAdjustmentBaseOffset() local321 return ComputeBaseOffset(Context, BaseRD, DerivedRD); in ComputeReturnAdjustmentBaseOffset()1213 const CXXRecordDecl *BaseRD = Base.getBase(); in ComputeThisAdjustmentBaseOffset() local1219 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeThisAdjustmentBaseOffset()
793 const CXXRecordDecl *BaseRD = IElem->Base->getType()->getAsCXXRecordDecl(); in DiagnoseReinterpretUpDownCast() local794 assert(BaseRD && "Base type should be a valid unqualified class type"); in DiagnoseReinterpretUpDownCast()805 Offset += DerivedLayout.getBaseClassOffset(BaseRD); in DiagnoseReinterpretUpDownCast()
1676 CXXRecordDecl *BaseRD = Base->getAsCXXRecordDecl(); in IsDerivedFrom() local1677 if (!BaseRD) in IsDerivedFrom()1682 if (BaseRD->isInvalidDecl() || DerivedRD->isInvalidDecl()) in IsDerivedFrom()1690 return DerivedRD->isDerivedFrom(BaseRD); in IsDerivedFrom()1704 CXXRecordDecl *BaseRD = Base->getAsCXXRecordDecl(); in IsDerivedFrom() local1705 if (!BaseRD) in IsDerivedFrom()1711 return DerivedRD->isDerivedFrom(BaseRD, Paths); in IsDerivedFrom()
153 const CXXRecordDecl *BaseRD = nullptr; in lookupUnqualifiedTypeNameInBase() local155 BaseRD = BaseTT->getAsCXXRecordDecl(); in lookupUnqualifiedTypeNameInBase()168 BaseRD = BasePrimaryTemplate; in lookupUnqualifiedTypeNameInBase()170 if (BaseRD) { in lookupUnqualifiedTypeNameInBase()171 for (NamedDecl *ND : BaseRD->lookup(&II)) { in lookupUnqualifiedTypeNameInBase()177 switch (lookupUnqualifiedTypeNameInBase(S, II, NameLoc, BaseRD)) { in lookupUnqualifiedTypeNameInBase()
1539 const CXXRecordDecl *BaseRD = Info->PathToBaseWithVPtr[I]; in emitVTableBitSetEntries() local1544 auto VBI = Layout.getVBaseOffsetsMap().find(BaseRD); in emitVTableBitSetEntries()1546 Offset = Layout.getBaseClassOffset(BaseRD); in emitVTableBitSetEntries()
1993 CXXRecordDecl *BaseRD = cast<CXXRecordDecl>(BaseRT->getDecl()); in VisitOffsetOfExpr() local1994 CharUnits OffsetInt = RL.getBaseClassOffset(BaseRD); in VisitOffsetOfExpr()