Lines Matching refs:Container
1252 static void CollectOverriddenMethodsRecurse(const ObjCContainerDecl *Container, in CollectOverriddenMethodsRecurse() argument
1256 if (!Container) in CollectOverriddenMethodsRecurse()
1262 if (const auto *Category = dyn_cast<ObjCCategoryDecl>(Container)) { in CollectOverriddenMethodsRecurse()
1267 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse()
1284 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse()
1294 if (const auto *Protocol = dyn_cast<ObjCProtocolDecl>(Container)){ in CollectOverriddenMethodsRecurse()
1299 if (const auto *Interface = dyn_cast<ObjCInterfaceDecl>(Container)) { in CollectOverriddenMethodsRecurse()
1312 static inline void CollectOverriddenMethods(const ObjCContainerDecl *Container, in CollectOverriddenMethods() argument
1315 CollectOverriddenMethodsRecurse(Container, Method, Methods, in CollectOverriddenMethods()
1385 const auto *Container = cast<ObjCContainerDecl>(getParent()); in findPropertyDecl() local
1387 if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) in findPropertyDecl()
1389 Container = ImplDecl->getClassInterface(); in findPropertyDecl()
1397 [&](const ObjCContainerDecl *Container) -> const ObjCPropertyDecl * { in findPropertyDecl() argument
1399 for (const auto *I : Container->instance_properties()) { in findPropertyDecl()
1406 for (const auto *I : Container->class_properties()) { in findPropertyDecl()
1418 if (const auto *Found = findMatchingProperty(Container)) in findPropertyDecl()
1423 if (const auto *Category = dyn_cast<ObjCCategoryDecl>(Container)) { in findPropertyDecl()
1429 ClassDecl = cast<ObjCInterfaceDecl>(Container); in findPropertyDecl()
1435 if (Ext == Container) in findPropertyDecl()
1444 if (Cat == Container) in findPropertyDecl()