Lines Matching refs:Methods
3513 Selector Sel, SmallVectorImpl<ObjCMethodDecl *> &Methods, in CollectMultipleMethodsInGlobalPool() argument
3529 Methods.push_back(M->getMethod()); in CollectMultipleMethodsInGlobalPool()
3533 if (!Methods.empty()) in CollectMultipleMethodsInGlobalPool()
3534 return Methods.size() > 1; in CollectMultipleMethodsInGlobalPool()
3545 Methods.push_back(M->getMethod()); in CollectMultipleMethodsInGlobalPool()
3548 return Methods.size() > 1; in CollectMultipleMethodsInGlobalPool()
3553 bool receiverIdOrClass, SmallVectorImpl<ObjCMethodDecl *> &Methods) { in AreMultipleMethodsInGlobalPool() argument
3558 for (auto *M : Methods) in AreMultipleMethodsInGlobalPool()
3588 SmallVector<ObjCMethodDecl *, 4> Methods; in LookupMethodInGlobalPool() local
3596 void Sema::DiagnoseMultipleMethodInGlobalPool(SmallVectorImpl<ObjCMethodDecl*> &Methods, in DiagnoseMultipleMethodInGlobalPool() argument
3608 for (unsigned I = 1, N = Methods.size(); I != N; ++I) { in DiagnoseMultipleMethodInGlobalPool()
3609 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_strict)) { in DiagnoseMultipleMethodInGlobalPool()
3621 for (unsigned I = 1, N = Methods.size(); I != N; ++I) { in DiagnoseMultipleMethodInGlobalPool()
3623 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_loose) && in DiagnoseMultipleMethodInGlobalPool()
3624 !isAcceptableMethodMismatch(Methods[0], Methods[I])) { in DiagnoseMultipleMethodInGlobalPool()
3640 Diag(Methods[0]->getBeginLoc(), in DiagnoseMultipleMethodInGlobalPool()
3642 << Methods[0]->getSourceRange(); in DiagnoseMultipleMethodInGlobalPool()
3643 for (unsigned I = 1, N = Methods.size(); I != N; ++I) { in DiagnoseMultipleMethodInGlobalPool()
3644 Diag(Methods[I]->getBeginLoc(), diag::note_also_found) in DiagnoseMultipleMethodInGlobalPool()
3645 << Methods[I]->getSourceRange(); in DiagnoseMultipleMethodInGlobalPool()
3655 GlobalMethodPool::Lists &Methods = Pos->second; in LookupImplementedMethodInGlobalPool() local
3656 for (const ObjCMethodList *Method = &Methods.first; Method; in LookupImplementedMethodInGlobalPool()
3663 for (const ObjCMethodList *Method = &Methods.second; Method; in LookupImplementedMethodInGlobalPool()
3709 SmallVector<const ObjCMethodDecl *, 8> Methods; in SelectorsForTypoCorrection() local
3735 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3739 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3747 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3751 Methods.push_back(M->getMethod()); in SelectorsForTypoCorrection()
3756 for (unsigned i = 0, e = Methods.size(); i < e; i++) { in SelectorsForTypoCorrection()
3758 Sel.getAsString(), Methods[i]); in SelectorsForTypoCorrection()