Searched refs:DestRD (Results 1 – 2 of 2) sorted by relevance
1063 const CXXRecordDecl *DestRD = DestType->getPointeeCXXRecordDecl(); in DiagnoseReinterpretUpDownCast() local1065 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() local3338 if (SrcRD && DestRD && SrcRD->hasAttr<RandomizeLayoutAttr>() && in CheckCStyleCast()3339 SrcRD != DestRD) { in CheckCStyleCast()
842 const auto *DestRD = DestType->getAsCXXRecordDecl(); in isAlwaysNull() local843 assert(SrcRD && DestRD); in isAlwaysNull()846 assert(!SrcRD->isDerivedFrom(DestRD) && in isAlwaysNull()851 if (DestRD->isEffectivelyFinal() && !DestRD->isDerivedFrom(SrcRD)) in isAlwaysNull()