Lines Matching refs:FoundField
4121 if (FieldDecl *FoundField = dyn_cast<FieldDecl>(FoundDecl)) { in VisitFieldDecl() local
4125 ASTImporter::getFieldIndex(FoundField)) in VisitFieldDecl()
4129 FoundField->getType())) { in VisitFieldDecl()
4130 Importer.MapImported(D, FoundField); in VisitFieldDecl()
4141 assert(FoundField->hasInClassInitializer() && in VisitFieldDecl()
4144 if (!FoundField->getInClassInitializer()) in VisitFieldDecl()
4145 FoundField->setInClassInitializer(*ToInitializerOrErr); in VisitFieldDecl()
4150 return FoundField; in VisitFieldDecl()
4155 << Name << D->getType() << FoundField->getType(); in VisitFieldDecl()
4156 Importer.ToDiag(FoundField->getLocation(), diag::note_odr_value_here) in VisitFieldDecl()
4157 << FoundField->getType(); in VisitFieldDecl()
4225 if (auto *FoundField = dyn_cast<IndirectFieldDecl>(FoundDecls[I])) { in VisitIndirectFieldDecl() local
4229 ASTImporter::getFieldIndex(FoundField)) in VisitIndirectFieldDecl()
4233 FoundField->getType(), in VisitIndirectFieldDecl()
4235 Importer.MapImported(D, FoundField); in VisitIndirectFieldDecl()
4236 return FoundField; in VisitIndirectFieldDecl()
4245 << Name << D->getType() << FoundField->getType(); in VisitIndirectFieldDecl()
4246 Importer.ToDiag(FoundField->getLocation(), diag::note_odr_value_here) in VisitIndirectFieldDecl()
4247 << FoundField->getType(); in VisitIndirectFieldDecl()