Lines Matching refs:Sel
2813 Selector Sel = I->getSelector(); in CheckCategoryVsClassMethodMatches() local
2817 if (SuperIDecl && SuperIDecl->lookupMethod(Sel, true)) in CheckCategoryVsClassMethodMatches()
2819 InsMap.insert(Sel); in CheckCategoryVsClassMethodMatches()
2823 Selector Sel = I->getSelector(); in CheckCategoryVsClassMethodMatches() local
2824 if (SuperIDecl && SuperIDecl->lookupMethod(Sel, false)) in CheckCategoryVsClassMethodMatches()
2826 ClsMap.insert(Sel); in CheckCategoryVsClassMethodMatches()
3220 void Sema::ReadMethodPool(Selector Sel) { in ReadMethodPool() argument
3222 ExternalSource->ReadMethodPool(Sel); in ReadMethodPool()
3265 Selector Sel, SmallVectorImpl<ObjCMethodDecl *> &Methods, bool instance) { in CollectMultipleMethodsInGlobalPool() argument
3267 ReadMethodPool(Sel); in CollectMultipleMethodsInGlobalPool()
3269 GlobalMethodPool::iterator Pos = MethodPool.find(Sel); in CollectMultipleMethodsInGlobalPool()
3280 bool Sema::AreMultipleMethodsInGlobalPool(Selector Sel, ObjCMethodDecl *BestMethod, in AreMultipleMethodsInGlobalPool() argument
3283 GlobalMethodPool::iterator Pos = MethodPool.find(Sel); in AreMultipleMethodsInGlobalPool()
3299 DiagnoseMultipleMethodInGlobalPool(Methods, Sel, R, receiverIdOrClass); in AreMultipleMethodsInGlobalPool()
3304 ObjCMethodDecl *Sema::LookupMethodInGlobalPool(Selector Sel, SourceRange R, in LookupMethodInGlobalPool() argument
3308 ReadMethodPool(Sel); in LookupMethodInGlobalPool()
3310 GlobalMethodPool::iterator Pos = MethodPool.find(Sel); in LookupMethodInGlobalPool()
3325 Selector Sel, SourceRange R, in DiagnoseMultipleMethodInGlobalPool() argument
3362 Diag(R.getBegin(), diag::err_arc_multiple_method_decl) << Sel << R; in DiagnoseMultipleMethodInGlobalPool()
3364 Diag(R.getBegin(), diag::warn_strict_multiple_method_decl) << Sel << R; in DiagnoseMultipleMethodInGlobalPool()
3366 Diag(R.getBegin(), diag::warn_multiple_method_decl) << Sel << R; in DiagnoseMultipleMethodInGlobalPool()
3378 ObjCMethodDecl *Sema::LookupImplementedMethodInGlobalPool(Selector Sel) { in LookupImplementedMethodInGlobalPool() argument
3379 GlobalMethodPool::iterator Pos = MethodPool.find(Sel); in LookupImplementedMethodInGlobalPool()
3423 static bool HelperIsMethodInObjCType(Sema &S, Selector Sel, in HelperIsMethodInObjCType() argument
3427 if (S.LookupMethodInObjectType(Sel, ObjectType, true/*Instance method*/)) in HelperIsMethodInObjCType()
3429 return S.LookupMethodInObjectType(Sel, ObjectType, false/*Class method*/) != in HelperIsMethodInObjCType()
3434 Sema::SelectorsForTypoCorrection(Selector Sel, in SelectorsForTypoCorrection() argument
3436 unsigned NumArgs = Sel.getNumArgs(); in SelectorsForTypoCorrection()
3461 (M->getMethod()->getSelector() != Sel)) { in SelectorsForTypoCorrection()
3473 (M->getMethod()->getSelector() != Sel)) { in SelectorsForTypoCorrection()
3486 Sel.getAsString(), Methods[i]); in SelectorsForTypoCorrection()
4135 Selector Sel, in ActOnMethodDeclaration() argument
4169 Context, MethodLoc, EndLoc, Sel, resultDeclType, ReturnTInfo, CurContext, in ActOnMethodDeclaration()
4179 for (unsigned i = 0, e = Sel.getNumArgs(); i != e; ++i) { in ActOnMethodDeclaration()
4255 PrevMethod = ImpDecl->getInstanceMethod(Sel); in ActOnMethodDeclaration()
4258 PrevMethod = ImpDecl->getClassMethod(Sel); in ActOnMethodDeclaration()
4535 Selector Sel = SelectorAndLocation.first; in DiagnoseUseOfUnimplementedSelectors() local
4537 if (!LookupImplementedMethodInGlobalPool(Sel)) in DiagnoseUseOfUnimplementedSelectors()
4538 Diag(Loc, diag::warn_unimplemented_selector) << Sel; in DiagnoseUseOfUnimplementedSelectors()