Home | History | Annotate | Download | only in AST

Lines Matching refs:Container

1072 static void CollectOverriddenMethodsRecurse(const ObjCContainerDecl *Container,
1076 if (!Container)
1083 Category = dyn_cast<ObjCCategoryDecl>(Container)) {
1088 Overridden = Container->getMethod(Method->getSelector(),
1105 Overridden = Container->getMethod(Method->getSelector(),
1115 if (const ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(Container)){
1121 Interface = dyn_cast<ObjCInterfaceDecl>(Container)) {
1134 static inline void CollectOverriddenMethods(const ObjCContainerDecl *Container,
1137 CollectOverriddenMethodsRecurse(Container, Method, Methods,
1209 const ObjCContainerDecl *Container = cast<ObjCContainerDecl>(getParent());
1213 /// given Objective-C container.
1215 [&](const ObjCContainerDecl *Container) -> const ObjCPropertyDecl * {
1217 for (const auto *I : Container->properties()) {
1227 // Look in the container we were given.
1228 if (const auto *Found = findMatchingProperty(Container))
1233 if (const auto *Category = dyn_cast<ObjCCategoryDecl>(Container)) {
1238 // Determine whether the container is a class.
1239 ClassDecl = dyn_cast<ObjCInterfaceDecl>(Container);
1245 if (Ext == Container)
1692 llvm_unreachable("invalid ivar container!");
1697 assert(CD->IsClassExtension() && "invalid container for ivar!");