Home
last modified time | relevance | path

Searched refs:BaseRD (Results 1 – 6 of 6) 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()
1213 const CXXRecordDecl *BaseRD = Base.getBase(); in ComputeThisAdjustmentBaseOffset() local
1219 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeThisAdjustmentBaseOffset()
/external/clang/lib/Sema/
DSemaCast.cpp793 const CXXRecordDecl *BaseRD = IElem->Base->getType()->getAsCXXRecordDecl(); in DiagnoseReinterpretUpDownCast() local
794 assert(BaseRD && "Base type should be a valid unqualified class type"); in DiagnoseReinterpretUpDownCast()
805 Offset += DerivedLayout.getBaseClassOffset(BaseRD); in DiagnoseReinterpretUpDownCast()
DSemaDeclCXX.cpp1676 CXXRecordDecl *BaseRD = Base->getAsCXXRecordDecl(); in IsDerivedFrom() local
1677 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() local
1705 if (!BaseRD) in IsDerivedFrom()
1711 return DerivedRD->isDerivedFrom(BaseRD, Paths); in IsDerivedFrom()
DSemaDecl.cpp153 const CXXRecordDecl *BaseRD = nullptr; in lookupUnqualifiedTypeNameInBase() local
155 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()
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp1539 const CXXRecordDecl *BaseRD = Info->PathToBaseWithVPtr[I]; in emitVTableBitSetEntries() local
1544 auto VBI = Layout.getVBaseOffsetsMap().find(BaseRD); in emitVTableBitSetEntries()
1546 Offset = Layout.getBaseClassOffset(BaseRD); in emitVTableBitSetEntries()
DCGExprScalar.cpp1993 CXXRecordDecl *BaseRD = cast<CXXRecordDecl>(BaseRT->getDecl()); in VisitOffsetOfExpr() local
1994 CharUnits OffsetInt = RL.getBaseClassOffset(BaseRD); in VisitOffsetOfExpr()