Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DVTableBuilder.cpp259 const CXXRecordDecl *BaseRD, in ComputeBaseOffset() argument
264 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeBaseOffset()
318 const CXXRecordDecl *BaseRD = in ComputeReturnAdjustmentBaseOffset() local
321 return ComputeBaseOffset(Context, BaseRD, DerivedRD); in ComputeReturnAdjustmentBaseOffset()
1225 const CXXRecordDecl *BaseRD = Base.getBase(); in ComputeThisAdjustmentBaseOffset() local
1231 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeThisAdjustmentBaseOffset()
/external/clang/lib/Sema/
DSemaCast.cpp763 const CXXRecordDecl *BaseRD = IElem->Base->getType()->getAsCXXRecordDecl(); in DiagnoseReinterpretUpDownCast() local
764 assert(BaseRD && "Base type should be a valid unqualified class type"); in DiagnoseReinterpretUpDownCast()
775 Offset += DerivedLayout.getBaseClassOffset(BaseRD); in DiagnoseReinterpretUpDownCast()
DSemaDeclCXX.cpp1624 CXXRecordDecl *BaseRD = Base->getAsCXXRecordDecl(); in IsDerivedFrom() local
1625 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() local
1648 if (!BaseRD) in IsDerivedFrom()
1651 return DerivedRD->isDerivedFrom(BaseRD, Paths); in IsDerivedFrom()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1887 CXXRecordDecl *BaseRD = cast<CXXRecordDecl>(BaseRT->getDecl()); in VisitOffsetOfExpr() local
1888 CharUnits OffsetInt = RL.getBaseClassOffset(BaseRD); in VisitOffsetOfExpr()