Home
last modified time | relevance | path

Searched refs:fromDecl (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DSemaInit.cpp8835 auto *fromDecl = fromType.getTypePtr()->getPointeeCXXRecordDecl(); in emitBadConversionNotes() local
8837 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()