Searched refs:fromDecl (Results 1 – 1 of 1) sorted by relevance
8521 auto *fromDecl = fromType->getPointeeCXXRecordDecl(); in emitBadConversionNotes() local8523 if (fromDecl && destDecl && fromDecl->getDeclKind() == Decl::CXXRecord && in emitBadConversionNotes()8525 !fromDecl->isInvalidDecl() && !destDecl->isInvalidDecl() && in emitBadConversionNotes()8526 !fromDecl->hasDefinition() && in emitBadConversionNotes()8529 S.Diag(fromDecl->getLocation(), diag::note_forward_class_conversion) in emitBadConversionNotes()8530 << S.getASTContext().getTagDeclType(fromDecl) in emitBadConversionNotes()