Searched refs:fromDecl (Results 1 – 1 of 1) sorted by relevance
8988 auto *fromDecl = fromType->getPointeeCXXRecordDecl(); in emitBadConversionNotes() local8990 if (fromDecl && destDecl && fromDecl->getDeclKind() == Decl::CXXRecord && in emitBadConversionNotes()8992 !fromDecl->isInvalidDecl() && !destDecl->isInvalidDecl() && in emitBadConversionNotes()8993 !fromDecl->hasDefinition() && in emitBadConversionNotes()8996 S.Diag(fromDecl->getLocation(), diag::note_forward_class_conversion) in emitBadConversionNotes()8997 << S.getASTContext().getTagDeclType(fromDecl) in emitBadConversionNotes()