Lines Matching refs:FoundField
3717 if (FieldDecl *FoundField = dyn_cast<FieldDecl>(FoundDecl)) { in VisitFieldDecl() local
3721 ASTImporter::getFieldIndex(FoundField)) in VisitFieldDecl()
3725 FoundField->getType())) { in VisitFieldDecl()
3726 Importer.MapImported(D, FoundField); in VisitFieldDecl()
3737 assert(FoundField->hasInClassInitializer() && in VisitFieldDecl()
3740 if (!FoundField->getInClassInitializer()) in VisitFieldDecl()
3741 FoundField->setInClassInitializer(*ToInitializerOrErr); in VisitFieldDecl()
3746 return FoundField; in VisitFieldDecl()
3751 << Name << D->getType() << FoundField->getType(); in VisitFieldDecl()
3752 Importer.ToDiag(FoundField->getLocation(), diag::note_odr_value_here) in VisitFieldDecl()
3753 << FoundField->getType(); in VisitFieldDecl()
3804 if (auto *FoundField = dyn_cast<IndirectFieldDecl>(FoundDecls[I])) { in VisitIndirectFieldDecl() local
3808 ASTImporter::getFieldIndex(FoundField)) in VisitIndirectFieldDecl()
3812 FoundField->getType(), in VisitIndirectFieldDecl()
3814 Importer.MapImported(D, FoundField); in VisitIndirectFieldDecl()
3815 return FoundField; in VisitIndirectFieldDecl()
3824 << Name << D->getType() << FoundField->getType(); in VisitIndirectFieldDecl()
3825 Importer.ToDiag(FoundField->getLocation(), diag::note_odr_value_here) in VisitIndirectFieldDecl()
3826 << FoundField->getType(); in VisitIndirectFieldDecl()