Searched refs:DestRD (Results 1 – 2 of 2) sorted by relevance
1013 const CXXRecordDecl *DestRD = DestType->getPointeeCXXRecordDecl(); in DiagnoseReinterpretUpDownCast() local1015 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() local3241 if (SrcRD && DestRD && SrcRD->hasAttr<RandomizeLayoutAttr>() && in CheckCStyleCast()3242 SrcRD != DestRD) { in CheckCStyleCast()
837 const auto *DestRD = DestType->getAsCXXRecordDecl(); in isAlwaysNull() local838 assert(SrcRD && DestRD); in isAlwaysNull()841 assert(!SrcRD->isDerivedFrom(DestRD) && in isAlwaysNull()846 if (DestRD->isEffectivelyFinal() && !DestRD->isDerivedFrom(SrcRD)) in isAlwaysNull()