Lines Matching defs:Methods

3265     Selector Sel, SmallVectorImpl<ObjCMethodDecl *> &Methods, bool instance) {
3276 Methods.push_back(M->getMethod());
3277 return Methods.size() > 1;
3292 SmallVector<ObjCMethodDecl *, 4> Methods;
3293 Methods.push_back(BestMethod);
3297 Methods.push_back(M);
3298 if (Methods.size() > 1)
3299 DiagnoseMultipleMethodInGlobalPool(Methods, Sel, R, receiverIdOrClass);
3316 SmallVector<ObjCMethodDecl *, 4> Methods;
3324 void Sema::DiagnoseMultipleMethodInGlobalPool(SmallVectorImpl<ObjCMethodDecl*> &Methods,
3336 for (unsigned I = 1, N = Methods.size(); I != N; ++I) {
3337 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_strict)) {
3349 for (unsigned I = 1, N = Methods.size(); I != N; ++I) {
3351 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_loose) &&
3352 !isAcceptableMethodMismatch(Methods[0], Methods[I])) {
3368 Diag(Methods[0]->getLocStart(),
3370 << Methods[0]->getSourceRange();
3371 for (unsigned I = 1, N = Methods.size(); I != N; ++I) {
3372 Diag(Methods[I]->getLocStart(), diag::note_also_found)
3373 << Methods[I]->getSourceRange();
3383 GlobalMethods &Methods = Pos->second;
3384 for (const ObjCMethodList *Method = &Methods.first; Method;
3391 for (const ObjCMethodList *Method = &Methods.second; Method;
3437 SmallVector<const ObjCMethodDecl *, 8> Methods;
3463 Methods.push_back(M->getMethod());
3467 Methods.push_back(M->getMethod());
3475 Methods.push_back(M->getMethod());
3479 Methods.push_back(M->getMethod());
3484 for (unsigned i = 0, e = Methods.size(); i < e; i++) {
3486 Sel.getAsString(), Methods[i]);