Lines Matching refs:Sel

2956     Selector Sel = I->getSelector();  in CheckCategoryVsClassMethodMatches()  local
2960 if (SuperIDecl && SuperIDecl->lookupMethod(Sel, true)) in CheckCategoryVsClassMethodMatches()
2962 InsMap.insert(Sel); in CheckCategoryVsClassMethodMatches()
2966 Selector Sel = I->getSelector(); in CheckCategoryVsClassMethodMatches() local
2967 if (SuperIDecl && SuperIDecl->lookupMethod(Sel, false)) in CheckCategoryVsClassMethodMatches()
2969 ClsMap.insert(Sel); in CheckCategoryVsClassMethodMatches()
3424 void SemaObjC::ReadMethodPool(Selector Sel) { in ReadMethodPool() argument
3426 SemaRef.ExternalSource->ReadMethodPool(Sel); in ReadMethodPool()
3429 void SemaObjC::updateOutOfDateSelector(Selector Sel) { in updateOutOfDateSelector() argument
3432 SemaRef.ExternalSource->updateOutOfDateSelector(Sel); in updateOutOfDateSelector()
3515 Selector Sel, SmallVectorImpl<ObjCMethodDecl *> &Methods, in CollectMultipleMethodsInGlobalPool() argument
3518 ReadMethodPool(Sel); in CollectMultipleMethodsInGlobalPool()
3520 GlobalMethodPool::iterator Pos = MethodPool.find(Sel); in CollectMultipleMethodsInGlobalPool()
3553 Selector Sel, ObjCMethodDecl *BestMethod, SourceRange R, in AreMultipleMethodsInGlobalPool() argument
3564 DiagnoseMultipleMethodInGlobalPool(FilteredMethods, Sel, R, in AreMultipleMethodsInGlobalPool()
3567 GlobalMethodPool::iterator Pos = MethodPool.find(Sel); in AreMultipleMethodsInGlobalPool()
3577 ObjCMethodDecl *SemaObjC::LookupMethodInGlobalPool(Selector Sel, SourceRange R, in LookupMethodInGlobalPool() argument
3581 ReadMethodPool(Sel); in LookupMethodInGlobalPool()
3583 GlobalMethodPool::iterator Pos = MethodPool.find(Sel); in LookupMethodInGlobalPool()
3598 SmallVectorImpl<ObjCMethodDecl *> &Methods, Selector Sel, SourceRange R, in DiagnoseMultipleMethodInGlobalPool() argument
3636 Diag(R.getBegin(), diag::err_arc_multiple_method_decl) << Sel << R; in DiagnoseMultipleMethodInGlobalPool()
3638 Diag(R.getBegin(), diag::warn_strict_multiple_method_decl) << Sel << R; in DiagnoseMultipleMethodInGlobalPool()
3640 Diag(R.getBegin(), diag::warn_multiple_method_decl) << Sel << R; in DiagnoseMultipleMethodInGlobalPool()
3652 ObjCMethodDecl *SemaObjC::LookupImplementedMethodInGlobalPool(Selector Sel) { in LookupImplementedMethodInGlobalPool() argument
3653 GlobalMethodPool::iterator Pos = MethodPool.find(Sel); in LookupImplementedMethodInGlobalPool()
3697 static bool HelperIsMethodInObjCType(Sema &S, Selector Sel, in HelperIsMethodInObjCType() argument
3701 if (S.ObjC().LookupMethodInObjectType(Sel, ObjectType, in HelperIsMethodInObjCType()
3704 return S.ObjC().LookupMethodInObjectType(Sel, ObjectType, in HelperIsMethodInObjCType()
3709 SemaObjC::SelectorsForTypoCorrection(Selector Sel, QualType ObjectType) { in SelectorsForTypoCorrection() argument
3710 unsigned NumArgs = Sel.getNumArgs(); in SelectorsForTypoCorrection()
3735 (M->getMethod()->getSelector() != Sel)) { in SelectorsForTypoCorrection()
3747 (M->getMethod()->getSelector() != Sel)) { in SelectorsForTypoCorrection()
3760 Sel.getAsString(), Methods[i]); in SelectorsForTypoCorrection()
4683 auto Sel = Method->getSelector(); in checkObjCDirectMethodClashes() local
4712 if (auto *IMD = IDecl->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4716 if (auto *IMD = IDecl->getImplementation()->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4720 if (auto *IMD = Cat->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4724 if (auto *IMD = Cat->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4731 ArrayRef<SourceLocation> SelectorLocs, Selector Sel, in ActOnMethodDeclaration() argument
4766 Context, MethodLoc, EndLoc, Sel, resultDeclType, ReturnTInfo, in ActOnMethodDeclaration()
4777 for (unsigned i = 0, e = Sel.getNumArgs(); i != e; ++i) { in ActOnMethodDeclaration()
4858 PrevMethod = ImpDecl->getInstanceMethod(Sel); in ActOnMethodDeclaration()
4861 PrevMethod = ImpDecl->getClassMethod(Sel); in ActOnMethodDeclaration()
4872 if (Setter->getSelector() == Sel && in ActOnMethodDeclaration()
4878 if (Getter->getSelector() == Sel && in ActOnMethodDeclaration()
5288 Selector Sel = SelectorAndLocation.first; in DiagnoseUseOfUnimplementedSelectors() local
5290 if (!LookupImplementedMethodInGlobalPool(Sel)) in DiagnoseUseOfUnimplementedSelectors()
5291 Diag(Loc, diag::warn_unimplemented_selector) << Sel; in DiagnoseUseOfUnimplementedSelectors()