Lines Matching refs:FoundMethod
3773 if (auto *FoundMethod = dyn_cast<ObjCMethodDecl>(FoundDecl)) { in VisitObjCMethodDecl() local
3774 if (FoundMethod->isInstanceMethod() != D->isInstanceMethod()) in VisitObjCMethodDecl()
3779 FoundMethod->getReturnType())) { in VisitObjCMethodDecl()
3782 << FoundMethod->getReturnType(); in VisitObjCMethodDecl()
3783 Importer.ToDiag(FoundMethod->getLocation(), in VisitObjCMethodDecl()
3791 if (D->param_size() != FoundMethod->param_size()) { in VisitObjCMethodDecl()
3794 << D->param_size() << FoundMethod->param_size(); in VisitObjCMethodDecl()
3795 Importer.ToDiag(FoundMethod->getLocation(), in VisitObjCMethodDecl()
3804 PEnd = D->param_end(), FoundP = FoundMethod->param_begin(); in VisitObjCMethodDecl()
3821 if (D->isVariadic() != FoundMethod->isVariadic()) { in VisitObjCMethodDecl()
3824 Importer.ToDiag(FoundMethod->getLocation(), in VisitObjCMethodDecl()
3832 return Importer.MapImported(D, FoundMethod); in VisitObjCMethodDecl()