Lines Matching refs:Sel
92 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod() argument
109 lookup_result R = lookup(Sel); in getMethod()
126 Selector Sel = Property->getSetterName(); in HasUserDeclaredSetterMethod() local
127 lookup_result R = lookup(Sel); in HasUserDeclaredSetterMethod()
139 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel)) in HasUserDeclaredSetterMethod()
571 bool ObjCInterfaceDecl::isDesignatedInitializer(Selector Sel, in isDesignatedInitializer() argument
592 if (const ObjCMethodDecl *MD = IFace->getInstanceMethod(Sel)) { in isDesignatedInitializer()
600 if (const ObjCMethodDecl *MD = Ext->getInstanceMethod(Sel)) { in isDesignatedInitializer()
700 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod() argument
718 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
723 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod()
729 if ((MethodDecl = I->lookupMethod(Sel, isInstance))) in lookupMethod()
739 if ((MethodDecl = Protocol->lookupMethod(Sel, isInstance))) in lookupMethod()
758 const Selector &Sel, in lookupPrivateMethod() argument
769 Method = Instance ? ImpDecl->getInstanceMethod(Sel) in lookupPrivateMethod()
770 : ImpDecl->getClassMethod(Sel); in lookupPrivateMethod()
774 Method = getCategoryMethod(Sel, Instance); in lookupPrivateMethod()
780 Method = lookupInstanceMethod(Sel); in lookupPrivateMethod()
784 Method = lookupPrivateMethod(Sel, true); in lookupPrivateMethod()
788 return getSuperClass()->lookupPrivateMethod(Sel, Instance); in lookupPrivateMethod()
1014 const auto &Sel = getSelector(); in getCanonicalDecl() local
1024 if (ObjCMethodDecl *MD = IFD->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
1027 if (ObjCMethodDecl *MD = Ext->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
1032 if (ObjCMethodDecl *MD = CatD->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
1039 cast<ObjCContainerDecl>(CtxD)->getMethod(Sel, isInstanceMethod(), in getCanonicalDecl()
1379 Selector Sel = getSelector(); in findPropertyDecl() local
1380 unsigned NumArgs = Sel.getNumArgs(); in findPropertyDecl()
1402 if (NextSel == Sel) in findPropertyDecl()
1409 if (NextSel == Sel) in findPropertyDecl()
1771 ObjCInterfaceDecl::getCategoryInstanceMethod(Selector Sel) const { in getCategoryInstanceMethod()
1774 if (ObjCMethodDecl *MD = Impl->getInstanceMethod(Sel)) in getCategoryInstanceMethod()
1781 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const { in getCategoryClassMethod()
1784 if (ObjCMethodDecl *MD = Impl->getClassMethod(Sel)) in getCategoryClassMethod()
2003 ObjCMethodDecl *ObjCProtocolDecl::lookupMethod(Selector Sel, in lookupMethod() argument
2013 if ((MethodDecl = getMethod(Sel, isInstance))) in lookupMethod()
2017 if ((MethodDecl = I->lookupMethod(Sel, isInstance))) in lookupMethod()