Lines Matching defs:Methods

2334     Selector Sel, SmallVectorImpl<ObjCMethodDecl *> &Methods, bool instance) {
2345 Methods.push_back(M->getMethod());
2346 return Methods.size() > 1;
2361 SmallVector<ObjCMethodDecl *, 4> Methods;
2362 Methods.push_back(BestMethod);
2366 Methods.push_back(M->getMethod());
2367 if (Methods.size() > 1)
2368 DiagnoseMultipleMethodInGlobalPool(Methods, Sel, R, receiverIdOrClass);
2385 SmallVector<ObjCMethodDecl *, 4> Methods;
2393 void Sema::DiagnoseMultipleMethodInGlobalPool(SmallVectorImpl<ObjCMethodDecl*> &Methods,
2405 for (unsigned I = 1, N = Methods.size(); I != N; ++I) {
2406 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_strict)) {
2418 for (unsigned I = 1, N = Methods.size(); I != N; ++I) {
2420 if (!MatchTwoMethodDeclarations(Methods[0], Methods[I], MMS_loose) &&
2421 !isAcceptableMethodMismatch(Methods[0], Methods[I])) {
2437 Diag(Methods[0]->getLocStart(),
2439 << Methods[0]->getSourceRange();
2440 for (unsigned I = 1, N = Methods.size(); I != N; ++I) {
2441 Diag(Methods[I]->getLocStart(), diag::note_also_found)
2442 << Methods[I]->getSourceRange();
2452 GlobalMethods &Methods = Pos->second;
2453 for (const ObjCMethodList *Method = &Methods.first; Method;
2460 for (const ObjCMethodList *Method = &Methods.second; Method;
2506 SmallVector<const ObjCMethodDecl *, 8> Methods;
2532 Methods.push_back(M->getMethod());
2536 Methods.push_back(M->getMethod());
2544 Methods.push_back(M->getMethod());
2548 Methods.push_back(M->getMethod());
2553 for (unsigned i = 0, e = Methods.size(); i < e; i++) {
2555 Sel.getAsString(), Methods[i]);