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.cpp1013 const CXXRecordDecl *DestRD = DestType->getPointeeCXXRecordDecl(); in DiagnoseReinterpretUpDownCast() local
1015 if (!DestRD || !DestRD->isCompleteDefinition() || DestRD->isInvalidDecl()) in DiagnoseReinterpretUpDownCast()
1025 if (SrcRD->isDerivedFrom(DestRD, BasePaths)) in DiagnoseReinterpretUpDownCast()
1027 else if (DestRD->isDerivedFrom(SrcRD, BasePaths)) in DiagnoseReinterpretUpDownCast()
3239 const RecordDecl *DestRD = DestTy->getAsRecordDecl(); in CheckCStyleCast() local
3241 if (SrcRD && DestRD && SrcRD->hasAttr<RandomizeLayoutAttr>() && in CheckCStyleCast()
3242 SrcRD != DestRD) { in CheckCStyleCast()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp837 const auto *DestRD = DestType->getAsCXXRecordDecl(); in isAlwaysNull() local
838 assert(SrcRD && DestRD); in isAlwaysNull()
841 assert(!SrcRD->isDerivedFrom(DestRD) && in isAlwaysNull()
846 if (DestRD->isEffectivelyFinal() && !DestRD->isDerivedFrom(SrcRD)) in isAlwaysNull()