Lines Matching refs:FoundMethod
4313 if (auto *FoundMethod = dyn_cast<ObjCMethodDecl>(FoundDecl)) { in VisitObjCMethodDecl() local
4314 if (FoundMethod->isInstanceMethod() != D->isInstanceMethod()) in VisitObjCMethodDecl()
4319 FoundMethod->getReturnType())) { in VisitObjCMethodDecl()
4322 << FoundMethod->getReturnType(); in VisitObjCMethodDecl()
4323 Importer.ToDiag(FoundMethod->getLocation(), in VisitObjCMethodDecl()
4331 if (D->param_size() != FoundMethod->param_size()) { in VisitObjCMethodDecl()
4334 << D->param_size() << FoundMethod->param_size(); in VisitObjCMethodDecl()
4335 Importer.ToDiag(FoundMethod->getLocation(), in VisitObjCMethodDecl()
4344 PEnd = D->param_end(), FoundP = FoundMethod->param_begin(); in VisitObjCMethodDecl()
4361 if (D->isVariadic() != FoundMethod->isVariadic()) { in VisitObjCMethodDecl()
4364 Importer.ToDiag(FoundMethod->getLocation(), in VisitObjCMethodDecl()
4372 return Importer.MapImported(D, FoundMethod); in VisitObjCMethodDecl()