Lines Matching refs:Methods

3484     Selector Sel, SmallVectorImpl<ObjCMethodDecl *> &Methods,
3500 Methods.push_back(M->getMethod());
3504 if (!Methods.empty())
3505 return Methods.size() > 1;
3516 Methods.push_back(M->getMethod());
3519 return Methods.size() > 1;
3524 bool receiverIdOrClass, SmallVectorImpl<ObjCMethodDecl *> &Methods) {
3529 for (auto *M : Methods)
3559 SmallVector<ObjCMethodDecl *, 4> Methods;
3567 void Sema::DiagnoseMultipleMethodInGlobalPool(SmallVectorImpl<ObjCMethodDecl*> &Methods,
3579 for (unsigned I = 1, N = Methods.size(); I != N; ++I) {
3580 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_strict)) {
3592 for (unsigned I = 1, N = Methods.size(); I != N; ++I) {
3594 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_loose) &&
3595 !isAcceptableMethodMismatch(Methods[0], Methods[I])) {
3611 Diag(Methods[0]->getBeginLoc(),
3613 << Methods[0]->getSourceRange();
3614 for (unsigned I = 1, N = Methods.size(); I != N; ++I) {
3615 Diag(Methods[I]->getBeginLoc(), diag::note_also_found)
3616 << Methods[I]->getSourceRange();
3626 GlobalMethods &Methods = Pos->second;
3627 for (const ObjCMethodList *Method = &Methods.first; Method;
3634 for (const ObjCMethodList *Method = &Methods.second; Method;
3680 SmallVector<const ObjCMethodDecl *, 8> Methods;
3706 Methods.push_back(M->getMethod());
3710 Methods.push_back(M->getMethod());
3718 Methods.push_back(M->getMethod());
3722 Methods.push_back(M->getMethod());
3727 for (unsigned i = 0, e = Methods.size(); i < e; i++) {
3729 Sel.getAsString(), Methods[i]);
4825 "Methods have different number of parameters");