Lines Matching refs:FoundMethod
4651 if (auto *FoundMethod = dyn_cast<ObjCMethodDecl>(FoundDecl)) { in VisitObjCMethodDecl() local
4652 if (FoundMethod->isInstanceMethod() != D->isInstanceMethod()) in VisitObjCMethodDecl()
4657 FoundMethod->getReturnType())) { in VisitObjCMethodDecl()
4660 << FoundMethod->getReturnType(); in VisitObjCMethodDecl()
4661 Importer.ToDiag(FoundMethod->getLocation(), in VisitObjCMethodDecl()
4669 if (D->param_size() != FoundMethod->param_size()) { in VisitObjCMethodDecl()
4672 << D->param_size() << FoundMethod->param_size(); in VisitObjCMethodDecl()
4673 Importer.ToDiag(FoundMethod->getLocation(), in VisitObjCMethodDecl()
4682 PEnd = D->param_end(), FoundP = FoundMethod->param_begin(); in VisitObjCMethodDecl()
4699 if (D->isVariadic() != FoundMethod->isVariadic()) { in VisitObjCMethodDecl()
4702 Importer.ToDiag(FoundMethod->getLocation(), in VisitObjCMethodDecl()
4710 return Importer.MapImported(D, FoundMethod); in VisitObjCMethodDecl()