Searched refs:fromDecl (Results 1 – 1 of 1) sorted by relevance
8835 auto *fromDecl = fromType.getTypePtr()->getPointeeCXXRecordDecl(); in emitBadConversionNotes() local8837 if (fromDecl && destDecl && fromDecl->getDeclKind() == Decl::CXXRecord && in emitBadConversionNotes()8839 !fromDecl->isInvalidDecl() && !destDecl->isInvalidDecl() && in emitBadConversionNotes()8840 !fromDecl->hasDefinition()) in emitBadConversionNotes()8841 S.Diag(fromDecl->getLocation(), diag::note_forward_class_conversion) in emitBadConversionNotes()8842 << S.getASTContext().getTagDeclType(fromDecl) in emitBadConversionNotes()