Lines Matching refs:Methods
3515 Selector Sel, SmallVectorImpl<ObjCMethodDecl *> &Methods, in CollectMultipleMethodsInGlobalPool() argument
3530 Methods.push_back(M->getMethod()); in CollectMultipleMethodsInGlobalPool()
3534 if (!Methods.empty()) in CollectMultipleMethodsInGlobalPool()
3535 return Methods.size() > 1; in CollectMultipleMethodsInGlobalPool()
3546 Methods.push_back(M->getMethod()); in CollectMultipleMethodsInGlobalPool()
3549 return Methods.size() > 1; in CollectMultipleMethodsInGlobalPool()
3554 bool receiverIdOrClass, SmallVectorImpl<ObjCMethodDecl *> &Methods) { in AreMultipleMethodsInGlobalPool() argument
3559 for (auto *M : Methods) in AreMultipleMethodsInGlobalPool()
3589 SmallVector<ObjCMethodDecl *, 4> Methods; in LookupMethodInGlobalPool() local
3598 SmallVectorImpl<ObjCMethodDecl *> &Methods, Selector Sel, SourceRange R, in DiagnoseMultipleMethodInGlobalPool() argument
3610 for (unsigned I = 1, N = Methods.size(); I != N; ++I) { in DiagnoseMultipleMethodInGlobalPool()
3611 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_strict)) { in DiagnoseMultipleMethodInGlobalPool()
3623 for (unsigned I = 1, N = Methods.size(); I != N; ++I) { in DiagnoseMultipleMethodInGlobalPool()
3625 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_loose) && in DiagnoseMultipleMethodInGlobalPool()
3626 !isAcceptableMethodMismatch(Methods[0], Methods[I])) { in DiagnoseMultipleMethodInGlobalPool()
3642 Diag(Methods[0]->getBeginLoc(), in DiagnoseMultipleMethodInGlobalPool()
3644 << Methods[0]->getSourceRange(); in DiagnoseMultipleMethodInGlobalPool()
3645 for (unsigned I = 1, N = Methods.size(); I != N; ++I) { in DiagnoseMultipleMethodInGlobalPool()
3646 Diag(Methods[I]->getBeginLoc(), diag::note_also_found) in DiagnoseMultipleMethodInGlobalPool()
3647 << Methods[I]->getSourceRange(); in DiagnoseMultipleMethodInGlobalPool()
3657 GlobalMethodPool::Lists &Methods = Pos->second; in LookupImplementedMethodInGlobalPool() local
3658 for (const ObjCMethodList *Method = &Methods.first; Method; in LookupImplementedMethodInGlobalPool()
3665 for (const ObjCMethodList *Method = &Methods.second; Method; in LookupImplementedMethodInGlobalPool()
3711 SmallVector<const ObjCMethodDecl *, 8> Methods; in SelectorsForTypoCorrection() local
3737 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3741 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3749 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3753 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3758 for (unsigned i = 0, e = Methods.size(); i < e; i++) { in SelectorsForTypoCorrection()
3760 Sel.getAsString(), Methods[i]); in SelectorsForTypoCorrection()