Searched refs:DerivedRD (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | VTableBuilder.cpp | 220 const CXXRecordDecl *DerivedRD, in ComputeBaseOffset() argument 254 return BaseOffset(DerivedRD, VirtualBase, NonVirtualOffset); in ComputeBaseOffset() 260 const CXXRecordDecl *DerivedRD) { in ComputeBaseOffset() argument 264 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeBaseOffset() 267 return ComputeBaseOffset(Context, DerivedRD, Paths.front()); in ComputeBaseOffset() 315 const CXXRecordDecl *DerivedRD = in ComputeReturnAdjustmentBaseOffset() local 321 return ComputeBaseOffset(Context, BaseRD, DerivedRD); in ComputeReturnAdjustmentBaseOffset() 1247 const CXXRecordDecl *DerivedRD = Derived.getBase(); in ComputeThisAdjustmentBaseOffset() local 1252 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in ComputeThisAdjustmentBaseOffset() 1258 BaseOffset Offset = ComputeBaseOffset(Context, DerivedRD, Path); in ComputeThisAdjustmentBaseOffset()
|
H A D | ExprConstant.cpp | 3194 const CXXRecordDecl *DerivedRD, in CastToBaseClass() argument 3198 if (!DerivedRD->isDerivedFrom(BaseRD, Paths)) in CastToBaseClass()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | MicrosoftCXXABI.cpp | 1737 const CXXRecordDecl *DerivedRD = Info.PathToIntroducingObject[I - 1]; in emitVTableTypeMetadata() local 1741 getContext().getASTRecordLayout(DerivedRD); in emitVTableTypeMetadata() 1750 CGM.AddVTableTypeMetadata(VTable, AddressPoint, DerivedRD); in emitVTableTypeMetadata()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDeclCXX.cpp | 2948 CXXRecordDecl *DerivedRD = Derived->getAsCXXRecordDecl(); in IsDerivedFrom() local 2949 if (!DerivedRD) in IsDerivedFrom() 2958 if (BaseRD->isInvalidDecl() || DerivedRD->isInvalidDecl()) in IsDerivedFrom() 2963 if (!isCompleteType(Loc, Derived) && !DerivedRD->isBeingDefined()) in IsDerivedFrom() 2966 return DerivedRD->isDerivedFrom(BaseRD); in IsDerivedFrom() 2974 CXXRecordDecl *DerivedRD = Derived->getAsCXXRecordDecl(); in IsDerivedFrom() local 2975 if (!DerivedRD) in IsDerivedFrom() 2982 if (!isCompleteType(Loc, Derived) && !DerivedRD->isBeingDefined()) in IsDerivedFrom() 2985 return DerivedRD->isDerivedFrom(BaseRD, Paths); in IsDerivedFrom()
|