Lines Matching refs:Method

766   ObjCMethodDecl *Method = nullptr;  in lookupPrivateMethod()  local
768 Method = Instance ? ImpDecl->getInstanceMethod(Sel) in lookupPrivateMethod()
772 if (!Method) in lookupPrivateMethod()
773 Method = getCategoryMethod(Sel, Instance); in lookupPrivateMethod()
778 if (!Instance && !Method && !getSuperClass()) { in lookupPrivateMethod()
779 Method = lookupInstanceMethod(Sel); in lookupPrivateMethod()
782 if (!Method) in lookupPrivateMethod()
783 Method = lookupPrivateMethod(Sel, true); in lookupPrivateMethod()
786 if (!Method && getSuperClass()) in lookupPrivateMethod()
788 return Method; in lookupPrivateMethod()
1253 const ObjCMethodDecl *Method, in CollectOverriddenMethodsRecurse() argument
1267 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse()
1268 Method->isInstanceMethod(), in CollectOverriddenMethodsRecurse()
1270 if (Method != Overridden) { in CollectOverriddenMethodsRecurse()
1278 CollectOverriddenMethodsRecurse(P, Method, Methods, MovedToSuper); in CollectOverriddenMethodsRecurse()
1284 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse()
1285 Method->isInstanceMethod(), in CollectOverriddenMethodsRecurse()
1287 if (Method != Overridden) { in CollectOverriddenMethodsRecurse()
1296 CollectOverriddenMethodsRecurse(P, Method, Methods, MovedToSuper); in CollectOverriddenMethodsRecurse()
1301 CollectOverriddenMethodsRecurse(P, Method, Methods, MovedToSuper); in CollectOverriddenMethodsRecurse()
1304 CollectOverriddenMethodsRecurse(Cat, Method, Methods, MovedToSuper); in CollectOverriddenMethodsRecurse()
1307 return CollectOverriddenMethodsRecurse(Super, Method, Methods, in CollectOverriddenMethodsRecurse()
1313 const ObjCMethodDecl *Method, in CollectOverriddenMethods() argument
1315 CollectOverriddenMethodsRecurse(Container, Method, Methods, in CollectOverriddenMethods()
1319 static void collectOverriddenMethodsSlow(const ObjCMethodDecl *Method, in collectOverriddenMethodsSlow() argument
1321 assert(Method->isOverriding()); in collectOverriddenMethodsSlow()
1324 dyn_cast<ObjCProtocolDecl>(Method->getDeclContext())) { in collectOverriddenMethodsSlow()
1325 CollectOverriddenMethods(ProtD, Method, overridden); in collectOverriddenMethodsSlow()
1328 dyn_cast<ObjCImplDecl>(Method->getDeclContext())) { in collectOverriddenMethodsSlow()
1334 if (const ObjCMethodDecl *IFaceMeth = ID->getMethod(Method->getSelector(), in collectOverriddenMethodsSlow()
1335 Method->isInstanceMethod(), in collectOverriddenMethodsSlow()
1337 Method = IFaceMeth; in collectOverriddenMethodsSlow()
1338 CollectOverriddenMethods(ID, Method, overridden); in collectOverriddenMethodsSlow()
1341 dyn_cast<ObjCCategoryDecl>(Method->getDeclContext())) { in collectOverriddenMethodsSlow()
1347 if (const ObjCMethodDecl *IFaceMeth = ID->getMethod(Method->getSelector(), in collectOverriddenMethodsSlow()
1348 Method->isInstanceMethod(), in collectOverriddenMethodsSlow()
1350 Method = IFaceMeth; in collectOverriddenMethodsSlow()
1351 CollectOverriddenMethods(ID, Method, overridden); in collectOverriddenMethodsSlow()
1355 dyn_cast_or_null<ObjCContainerDecl>(Method->getDeclContext()), in collectOverriddenMethodsSlow()
1356 Method, overridden); in collectOverriddenMethodsSlow()
1362 const ObjCMethodDecl *Method = this; in getOverriddenMethods() local
1364 if (Method->isRedeclaration()) { in getOverriddenMethods()
1365 Method = cast<ObjCContainerDecl>(Method->getDeclContext()) in getOverriddenMethods()
1366 ->getMethod(Method->getSelector(), Method->isInstanceMethod(), in getOverriddenMethods()
1370 if (Method->isOverriding()) { in getOverriddenMethods()
1371 collectOverriddenMethodsSlow(Method, Overridden); in getOverriddenMethods()