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