Lines Matching refs:FoundMethod
3560 if (ObjCMethodDecl *FoundMethod = dyn_cast<ObjCMethodDecl>(FoundDecls[I])) { in VisitObjCMethodDecl() local
3561 if (FoundMethod->isInstanceMethod() != D->isInstanceMethod()) in VisitObjCMethodDecl()
3566 FoundMethod->getReturnType())) { in VisitObjCMethodDecl()
3569 << FoundMethod->getReturnType(); in VisitObjCMethodDecl()
3570 Importer.ToDiag(FoundMethod->getLocation(), in VisitObjCMethodDecl()
3577 if (D->param_size() != FoundMethod->param_size()) { in VisitObjCMethodDecl()
3580 << D->param_size() << FoundMethod->param_size(); in VisitObjCMethodDecl()
3581 Importer.ToDiag(FoundMethod->getLocation(), in VisitObjCMethodDecl()
3589 PEnd = D->param_end(), FoundP = FoundMethod->param_begin(); in VisitObjCMethodDecl()
3605 if (D->isVariadic() != FoundMethod->isVariadic()) { in VisitObjCMethodDecl()
3608 Importer.ToDiag(FoundMethod->getLocation(), in VisitObjCMethodDecl()
3615 return Importer.Imported(D, FoundMethod); in VisitObjCMethodDecl()