Searched refs:fromDecl (Results 1 – 1 of 1) sorted by relevance
9339 auto *fromDecl = fromType->getPointeeCXXRecordDecl(); in emitBadConversionNotes() local9341 if (fromDecl && destDecl && fromDecl->getDeclKind() == Decl::CXXRecord && in emitBadConversionNotes()9343 !fromDecl->isInvalidDecl() && !destDecl->isInvalidDecl() && in emitBadConversionNotes()9344 !fromDecl->hasDefinition() && in emitBadConversionNotes()9347 S.Diag(fromDecl->getLocation(), diag::note_forward_class_conversion) in emitBadConversionNotes()9348 << S.getASTContext().getTagDeclType(fromDecl) in emitBadConversionNotes()