Lines Matching defs:Sel
93 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance,
110 lookup_result R = lookup(Sel);
127 Selector Sel = Property->getSetterName();
128 lookup_result R = lookup(Sel);
140 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel))
570 bool ObjCInterfaceDecl::isDesignatedInitializer(Selector Sel,
591 if (const ObjCMethodDecl *MD = IFace->getInstanceMethod(Sel)) {
599 if (const ObjCMethodDecl *MD = Ext->getInstanceMethod(Sel)) {
699 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel,
717 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance)))
722 if ((MethodDecl = Cat->getMethod(Sel, isInstance)))
728 if ((MethodDecl = I->lookupMethod(Sel, isInstance)))
738 if ((MethodDecl = Protocol->lookupMethod(Sel, isInstance)))
757 const Selector &Sel,
768 Method = Instance ? ImpDecl->getInstanceMethod(Sel)
769 : ImpDecl->getClassMethod(Sel);
773 Method = getCategoryMethod(Sel, Instance);
779 Method = lookupInstanceMethod(Sel);
783 Method = lookupPrivateMethod(Sel, true);
787 return getSuperClass()->lookupPrivateMethod(Sel, Instance);
1014 const auto &Sel = getSelector();
1024 if (ObjCMethodDecl *MD = IFD->getMethod(Sel, isInstanceMethod()))
1027 if (ObjCMethodDecl *MD = Ext->getMethod(Sel, isInstanceMethod()))
1032 if (ObjCMethodDecl *MD = CatD->getMethod(Sel, isInstanceMethod()))
1039 cast<ObjCContainerDecl>(CtxD)->getMethod(Sel, isInstanceMethod(),
1379 Selector Sel = getSelector();
1380 unsigned NumArgs = Sel.getNumArgs();
1402 if (NextSel == Sel)
1409 if (NextSel == Sel)
1765 ObjCInterfaceDecl::getCategoryInstanceMethod(Selector Sel) const {
1768 if (ObjCMethodDecl *MD = Impl->getInstanceMethod(Sel))
1775 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const {
1778 if (ObjCMethodDecl *MD = Impl->getClassMethod(Sel))
1997 ObjCMethodDecl *ObjCProtocolDecl::lookupMethod(Selector Sel,
2007 if ((MethodDecl = getMethod(Sel, isInstance)))
2011 if ((MethodDecl = I->lookupMethod(Sel, isInstance)))