Searched refs:BaseRD (Results 1 – 4 of 4) 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()1225 const CXXRecordDecl *BaseRD = Base.getBase(); in ComputeThisAdjustmentBaseOffset() local1231 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeThisAdjustmentBaseOffset()
763 const CXXRecordDecl *BaseRD = IElem->Base->getType()->getAsCXXRecordDecl(); in DiagnoseReinterpretUpDownCast() local764 assert(BaseRD && "Base type should be a valid unqualified class type"); in DiagnoseReinterpretUpDownCast()775 Offset += DerivedLayout.getBaseClassOffset(BaseRD); in DiagnoseReinterpretUpDownCast()
1624 CXXRecordDecl *BaseRD = Base->getAsCXXRecordDecl(); in IsDerivedFrom() local1625 if (!BaseRD) in IsDerivedFrom()1630 if (BaseRD->isInvalidDecl() || DerivedRD->isInvalidDecl()) in IsDerivedFrom()1634 return DerivedRD->hasDefinition() && DerivedRD->isDerivedFrom(BaseRD); in IsDerivedFrom()1647 CXXRecordDecl *BaseRD = Base->getAsCXXRecordDecl(); in IsDerivedFrom() local1648 if (!BaseRD) in IsDerivedFrom()1651 return DerivedRD->isDerivedFrom(BaseRD, Paths); in IsDerivedFrom()
1887 CXXRecordDecl *BaseRD = cast<CXXRecordDecl>(BaseRT->getDecl()); in VisitOffsetOfExpr() local1888 CharUnits OffsetInt = RL.getBaseClassOffset(BaseRD); in VisitOffsetOfExpr()