Lines Matching refs:Methods

3512     Selector Sel, SmallVectorImpl<ObjCMethodDecl *> &Methods,
3528 Methods.push_back(M->getMethod());
3532 if (!Methods.empty())
3533 return Methods.size() > 1;
3544 Methods.push_back(M->getMethod());
3547 return Methods.size() > 1;
3552 bool receiverIdOrClass, SmallVectorImpl<ObjCMethodDecl *> &Methods) {
3557 for (auto *M : Methods)
3587 SmallVector<ObjCMethodDecl *, 4> Methods;
3595 void Sema::DiagnoseMultipleMethodInGlobalPool(SmallVectorImpl<ObjCMethodDecl*> &Methods,
3607 for (unsigned I = 1, N = Methods.size(); I != N; ++I) {
3608 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_strict)) {
3620 for (unsigned I = 1, N = Methods.size(); I != N; ++I) {
3622 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_loose) &&
3623 !isAcceptableMethodMismatch(Methods[0], Methods[I])) {
3639 Diag(Methods[0]->getBeginLoc(),
3641 << Methods[0]->getSourceRange();
3642 for (unsigned I = 1, N = Methods.size(); I != N; ++I) {
3643 Diag(Methods[I]->getBeginLoc(), diag::note_also_found)
3644 << Methods[I]->getSourceRange();
3654 GlobalMethodPool::Lists &Methods = Pos->second;
3655 for (const ObjCMethodList *Method = &Methods.first; Method;
3662 for (const ObjCMethodList *Method = &Methods.second; Method;
3708 SmallVector<const ObjCMethodDecl *, 8> Methods;
3734 Methods.push_back(M->getMethod());
3738 Methods.push_back(M->getMethod());
3746 Methods.push_back(M->getMethod());
3750 Methods.push_back(M->getMethod());
3755 for (unsigned i = 0, e = Methods.size(); i < e; i++) {
3757 Sel.getAsString(), Methods[i]);
4966 "Methods have different number of parameters");