Lines Matching refs:FoundMethod
4189 if (auto *FoundMethod = dyn_cast<ObjCMethodDecl>(FoundDecl)) { in VisitObjCMethodDecl() local
4190 if (FoundMethod->isInstanceMethod() != D->isInstanceMethod()) in VisitObjCMethodDecl()
4195 FoundMethod->getReturnType())) { in VisitObjCMethodDecl()
4198 << FoundMethod->getReturnType(); in VisitObjCMethodDecl()
4199 Importer.ToDiag(FoundMethod->getLocation(), in VisitObjCMethodDecl()
4207 if (D->param_size() != FoundMethod->param_size()) { in VisitObjCMethodDecl()
4210 << D->param_size() << FoundMethod->param_size(); in VisitObjCMethodDecl()
4211 Importer.ToDiag(FoundMethod->getLocation(), in VisitObjCMethodDecl()
4220 PEnd = D->param_end(), FoundP = FoundMethod->param_begin(); in VisitObjCMethodDecl()
4237 if (D->isVariadic() != FoundMethod->isVariadic()) { in VisitObjCMethodDecl()
4240 Importer.ToDiag(FoundMethod->getLocation(), in VisitObjCMethodDecl()
4248 return Importer.MapImported(D, FoundMethod); in VisitObjCMethodDecl()