Home
last modified time | relevance | path

Searched refs:DestRD (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp1063 const CXXRecordDecl *DestRD = DestType->getPointeeCXXRecordDecl(); in DiagnoseReinterpretUpDownCast() local
1065 if (!DestRD || !DestRD->isCompleteDefinition() || DestRD->isInvalidDecl()) in DiagnoseReinterpretUpDownCast()
1075 if (SrcRD->isDerivedFrom(DestRD, BasePaths)) in DiagnoseReinterpretUpDownCast()
1077 else if (DestRD->isDerivedFrom(SrcRD, BasePaths)) in DiagnoseReinterpretUpDownCast()
3336 const RecordDecl *DestRD = DestTy->getAsRecordDecl(); in CheckCStyleCast() local
3338 if (SrcRD && DestRD && SrcRD->hasAttr<RandomizeLayoutAttr>() && in CheckCStyleCast()
3339 SrcRD != DestRD) { in CheckCStyleCast()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp842 const auto *DestRD = DestType->getAsCXXRecordDecl(); in isAlwaysNull() local
843 assert(SrcRD && DestRD); in isAlwaysNull()
846 assert(!SrcRD->isDerivedFrom(DestRD) && in isAlwaysNull()
851 if (DestRD->isEffectivelyFinal() && !DestRD->isDerivedFrom(SrcRD)) in isAlwaysNull()