Lines Matching refs:Container
1201 static void CollectOverriddenMethodsRecurse(const ObjCContainerDecl *Container, in CollectOverriddenMethodsRecurse() argument
1205 if (!Container) in CollectOverriddenMethodsRecurse()
1211 if (const auto *Category = dyn_cast<ObjCCategoryDecl>(Container)) { in CollectOverriddenMethodsRecurse()
1216 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse()
1233 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse()
1243 if (const auto *Protocol = dyn_cast<ObjCProtocolDecl>(Container)){ in CollectOverriddenMethodsRecurse()
1248 if (const auto *Interface = dyn_cast<ObjCInterfaceDecl>(Container)) { in CollectOverriddenMethodsRecurse()
1261 static inline void CollectOverriddenMethods(const ObjCContainerDecl *Container, in CollectOverriddenMethods() argument
1264 CollectOverriddenMethodsRecurse(Container, Method, Methods, in CollectOverriddenMethods()
1334 const auto *Container = cast<ObjCContainerDecl>(getParent()); in findPropertyDecl() local
1336 if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) in findPropertyDecl()
1338 Container = ImplDecl->getClassInterface(); in findPropertyDecl()
1346 [&](const ObjCContainerDecl *Container) -> const ObjCPropertyDecl * { in findPropertyDecl() argument
1348 for (const auto *I : Container->instance_properties()) { in findPropertyDecl()
1355 for (const auto *I : Container->class_properties()) { in findPropertyDecl()
1367 if (const auto *Found = findMatchingProperty(Container)) in findPropertyDecl()
1372 if (const auto *Category = dyn_cast<ObjCCategoryDecl>(Container)) { in findPropertyDecl()
1378 ClassDecl = cast<ObjCInterfaceDecl>(Container); in findPropertyDecl()
1384 if (Ext == Container) in findPropertyDecl()
1393 if (Cat == Container) in findPropertyDecl()