Searched refs:BaseRD (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/AST/ |
D | VTableBuilder.cpp | 259 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/CodeGen/ |
D | CGExprAgg.cpp | 1196 auto *BaseRD = Base.getType()->getAsCXXRecordDecl(); in VisitInitListExpr() local 1198 Dest.getAddress(), CXXRD, BaseRD, in VisitInitListExpr()
|
D | MicrosoftCXXABI.cpp | 1530 const CXXRecordDecl *BaseRD = Info->PathToBaseWithVPtr[I]; in emitVTableTypeMetadata() local 1535 auto VBI = Layout.getVBaseOffsetsMap().find(BaseRD); in emitVTableTypeMetadata() 1537 Offset = Layout.getBaseClassOffset(BaseRD); in emitVTableTypeMetadata()
|
D | CGExprScalar.cpp | 1980 CXXRecordDecl *BaseRD = cast<CXXRecordDecl>(BaseRT->getDecl()); in VisitOffsetOfExpr() local 1981 CharUnits OffsetInt = RL.getBaseClassOffset(BaseRD); in VisitOffsetOfExpr()
|
/external/clang/lib/Sema/ |
D | SemaCast.cpp | 794 const CXXRecordDecl *BaseRD = IElem->Base->getType()->getAsCXXRecordDecl(); in DiagnoseReinterpretUpDownCast() local 795 assert(BaseRD && "Base type should be a valid unqualified class type"); in DiagnoseReinterpretUpDownCast() 806 Offset += DerivedLayout.getBaseClassOffset(BaseRD); in DiagnoseReinterpretUpDownCast()
|
D | SemaDeclCXX.cpp | 1676 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() 9367 auto *BaseRD = B.getType()->getAsCXXRecordDecl(); in DefineInheritingConstructor() local 9368 if (!BaseRD) in DefineInheritingConstructor() 9371 auto BaseCtor = ICI.findConstructorForBase(BaseRD, InheritedCtor); in DefineInheritingConstructor()
|
D | SemaDecl.cpp | 155 const CXXRecordDecl *BaseRD = nullptr; in lookupUnqualifiedTypeNameInBase() local 157 BaseRD = BaseTT->getAsCXXRecordDecl(); in lookupUnqualifiedTypeNameInBase() 169 BaseRD = BasePrimaryTemplate; in lookupUnqualifiedTypeNameInBase() 174 BaseRD = PS; in lookupUnqualifiedTypeNameInBase() 178 if (BaseRD) { in lookupUnqualifiedTypeNameInBase() 179 for (NamedDecl *ND : BaseRD->lookup(&II)) { in lookupUnqualifiedTypeNameInBase() 185 switch (lookupUnqualifiedTypeNameInBase(S, II, NameLoc, BaseRD)) { in lookupUnqualifiedTypeNameInBase()
|