Lines Matching refs:Methods
3497 Selector Sel, SmallVectorImpl<ObjCMethodDecl *> &Methods, in CollectMultipleMethodsInGlobalPool() argument
3513 Methods.push_back(M->getMethod()); in CollectMultipleMethodsInGlobalPool()
3517 if (!Methods.empty()) in CollectMultipleMethodsInGlobalPool()
3518 return Methods.size() > 1; in CollectMultipleMethodsInGlobalPool()
3529 Methods.push_back(M->getMethod()); in CollectMultipleMethodsInGlobalPool()
3532 return Methods.size() > 1; in CollectMultipleMethodsInGlobalPool()
3537 bool receiverIdOrClass, SmallVectorImpl<ObjCMethodDecl *> &Methods) { in AreMultipleMethodsInGlobalPool() argument
3542 for (auto *M : Methods) in AreMultipleMethodsInGlobalPool()
3572 SmallVector<ObjCMethodDecl *, 4> Methods; in LookupMethodInGlobalPool() local
3580 void Sema::DiagnoseMultipleMethodInGlobalPool(SmallVectorImpl<ObjCMethodDecl*> &Methods, in DiagnoseMultipleMethodInGlobalPool() argument
3592 for (unsigned I = 1, N = Methods.size(); I != N; ++I) { in DiagnoseMultipleMethodInGlobalPool()
3593 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_strict)) { in DiagnoseMultipleMethodInGlobalPool()
3605 for (unsigned I = 1, N = Methods.size(); I != N; ++I) { in DiagnoseMultipleMethodInGlobalPool()
3607 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_loose) && in DiagnoseMultipleMethodInGlobalPool()
3608 !isAcceptableMethodMismatch(Methods[0], Methods[I])) { in DiagnoseMultipleMethodInGlobalPool()
3624 Diag(Methods[0]->getBeginLoc(), in DiagnoseMultipleMethodInGlobalPool()
3626 << Methods[0]->getSourceRange(); in DiagnoseMultipleMethodInGlobalPool()
3627 for (unsigned I = 1, N = Methods.size(); I != N; ++I) { in DiagnoseMultipleMethodInGlobalPool()
3628 Diag(Methods[I]->getBeginLoc(), diag::note_also_found) in DiagnoseMultipleMethodInGlobalPool()
3629 << Methods[I]->getSourceRange(); in DiagnoseMultipleMethodInGlobalPool()
3639 GlobalMethods &Methods = Pos->second; in LookupImplementedMethodInGlobalPool() local
3640 for (const ObjCMethodList *Method = &Methods.first; Method; in LookupImplementedMethodInGlobalPool()
3647 for (const ObjCMethodList *Method = &Methods.second; Method; in LookupImplementedMethodInGlobalPool()
3693 SmallVector<const ObjCMethodDecl *, 8> Methods; in SelectorsForTypoCorrection() local
3719 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3723 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3731 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3735 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3740 for (unsigned i = 0, e = Methods.size(); i < e; i++) { in SelectorsForTypoCorrection()
3742 Sel.getAsString(), Methods[i]); in SelectorsForTypoCorrection()