Lines Matching refs:Methods

3505     Selector Sel, SmallVectorImpl<ObjCMethodDecl *> &Methods,  in CollectMultipleMethodsInGlobalPool()  argument
3521 Methods.push_back(M->getMethod()); in CollectMultipleMethodsInGlobalPool()
3525 if (!Methods.empty()) in CollectMultipleMethodsInGlobalPool()
3526 return Methods.size() > 1; in CollectMultipleMethodsInGlobalPool()
3537 Methods.push_back(M->getMethod()); in CollectMultipleMethodsInGlobalPool()
3540 return Methods.size() > 1; in CollectMultipleMethodsInGlobalPool()
3545 bool receiverIdOrClass, SmallVectorImpl<ObjCMethodDecl *> &Methods) { in AreMultipleMethodsInGlobalPool() argument
3550 for (auto *M : Methods) in AreMultipleMethodsInGlobalPool()
3580 SmallVector<ObjCMethodDecl *, 4> Methods; in LookupMethodInGlobalPool() local
3588 void Sema::DiagnoseMultipleMethodInGlobalPool(SmallVectorImpl<ObjCMethodDecl*> &Methods, in DiagnoseMultipleMethodInGlobalPool() argument
3600 for (unsigned I = 1, N = Methods.size(); I != N; ++I) { in DiagnoseMultipleMethodInGlobalPool()
3601 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_strict)) { in DiagnoseMultipleMethodInGlobalPool()
3613 for (unsigned I = 1, N = Methods.size(); I != N; ++I) { in DiagnoseMultipleMethodInGlobalPool()
3615 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_loose) && in DiagnoseMultipleMethodInGlobalPool()
3616 !isAcceptableMethodMismatch(Methods[0], Methods[I])) { in DiagnoseMultipleMethodInGlobalPool()
3632 Diag(Methods[0]->getBeginLoc(), in DiagnoseMultipleMethodInGlobalPool()
3634 << Methods[0]->getSourceRange(); in DiagnoseMultipleMethodInGlobalPool()
3635 for (unsigned I = 1, N = Methods.size(); I != N; ++I) { in DiagnoseMultipleMethodInGlobalPool()
3636 Diag(Methods[I]->getBeginLoc(), diag::note_also_found) in DiagnoseMultipleMethodInGlobalPool()
3637 << Methods[I]->getSourceRange(); in DiagnoseMultipleMethodInGlobalPool()
3647 GlobalMethodPool::Lists &Methods = Pos->second; in LookupImplementedMethodInGlobalPool() local
3648 for (const ObjCMethodList *Method = &Methods.first; Method; in LookupImplementedMethodInGlobalPool()
3655 for (const ObjCMethodList *Method = &Methods.second; Method; in LookupImplementedMethodInGlobalPool()
3701 SmallVector<const ObjCMethodDecl *, 8> Methods; in SelectorsForTypoCorrection() local
3727 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3731 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3739 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3743 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3748 for (unsigned i = 0, e = Methods.size(); i < e; i++) { in SelectorsForTypoCorrection()
3750 Sel.getAsString(), Methods[i]); in SelectorsForTypoCorrection()