Lines Matching refs:ObjCInterfaceDecl

135   if (const auto *ID = dyn_cast<ObjCInterfaceDecl>(this)) {  in HasUserDeclaredSetterMethod()
162 ObjCInterfaceDecl *OSC = ID->getSuperClass(); in HasUserDeclaredSetterMethod()
190 if (auto *IDecl = dyn_cast<ObjCInterfaceDecl>(DC)) { in findPropertyDecl()
248 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration()
272 const auto *OID = cast<ObjCInterfaceDecl>(this); in FindPropertyDeclaration()
288 if (const ObjCInterfaceDecl *superClass = OID->getSuperClass()) in FindPropertyDeclaration()
306 void ObjCInterfaceDecl::anchor() {} in anchor()
308 ObjCTypeParamList *ObjCInterfaceDecl::getTypeParamList() const { in getTypeParamList()
314 if (const ObjCInterfaceDecl *def = getDefinition()) in getTypeParamList()
320 for (const ObjCInterfaceDecl *decl = getMostRecentDecl(); decl; in getTypeParamList()
329 void ObjCInterfaceDecl::setTypeParamList(ObjCTypeParamList *TPL) { in setTypeParamList()
338 ObjCInterfaceDecl *ObjCInterfaceDecl::getSuperClass() const { in getSuperClass()
347 if (ObjCInterfaceDecl *superDecl = superType->getInterface()) { in getSuperClass()
348 if (ObjCInterfaceDecl *superDef = superDecl->getDefinition()) in getSuperClass()
358 SourceLocation ObjCInterfaceDecl::getSuperClassLoc() const { in getSuperClassLoc()
369 ObjCInterfaceDecl::FindPropertyVisibleInPrimaryClass( in FindPropertyVisibleInPrimaryClass()
393 void ObjCInterfaceDecl::collectPropertiesToImplement(PropertyMap &PM, in collectPropertiesToImplement()
413 bool ObjCInterfaceDecl::isArcWeakrefUnavailable() const { in isArcWeakrefUnavailable()
414 const ObjCInterfaceDecl *Class = this; in isArcWeakrefUnavailable()
423 const ObjCInterfaceDecl *ObjCInterfaceDecl::isObjCRequiresPropertyDefs() const { in isObjCRequiresPropertyDefs()
424 const ObjCInterfaceDecl *Class = this; in isObjCRequiresPropertyDefs()
433 void ObjCInterfaceDecl::mergeClassExtensionProtocolList( in mergeClassExtensionProtocolList()
474 const ObjCInterfaceDecl *
475 ObjCInterfaceDecl::findInterfaceWithDesignatedInitializers() const { in findInterfaceWithDesignatedInitializers()
476 const ObjCInterfaceDecl *IFace = this; in findInterfaceWithDesignatedInitializers()
487 static bool isIntroducingInitializers(const ObjCInterfaceDecl *D) { in isIntroducingInitializers()
507 bool ObjCInterfaceDecl::inheritsDesignatedInitializers() const { in inheritsDesignatedInitializers()
539 void ObjCInterfaceDecl::getDesignatedInitializers( in getDesignatedInitializers()
547 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); in getDesignatedInitializers()
561 bool ObjCInterfaceDecl::isDesignatedInitializer(Selector Sel, in isDesignatedInitializer()
578 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); in isDesignatedInitializer()
601 void ObjCInterfaceDecl::allocateDefinitionData() { in allocateDefinitionData()
611 void ObjCInterfaceDecl::startDefinition() { in startDefinition()
621 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID, in lookupInstanceVariable()
622 ObjCInterfaceDecl *&clsDeclared) { in lookupInstanceVariable()
630 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable()
652 ObjCInterfaceDecl *ObjCInterfaceDecl::lookupInheritedClass( in lookupInheritedClass()
661 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass()
671 ObjCInterfaceDecl::lookupNestedProtocol(IdentifierInfo *Name) { in lookupNestedProtocol()
675 ObjCInterfaceDecl *SuperClass = getSuperClass(); in lookupNestedProtocol()
683 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod()
693 const ObjCInterfaceDecl* ClassDecl = this; in lookupMethod()
740 ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod( in lookupPrivateMethod()
835 if (const auto *ID = dyn_cast<const ObjCInterfaceDecl>(getDeclContext())) in definedInNSObject()
847 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface()
917 if (auto *IFD = dyn_cast<ObjCInterfaceDecl>(CtxD)) { in getNextRedeclarationImpl()
928 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getNextRedeclarationImpl()
958 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getCanonicalDecl()
1079 const ObjCInterfaceDecl *OID, in getSelfType()
1124 const ObjCInterfaceDecl *OID) { in createImplicitParams()
1144 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface()
1145 if (auto *ID = dyn_cast<ObjCInterfaceDecl>(getDeclContext())) in getClassInterface()
1224 if (const auto *Interface = dyn_cast<ObjCInterfaceDecl>(Container)) { in CollectOverriddenMethodsRecurse()
1231 if (const ObjCInterfaceDecl *Super = Interface->getSuperClass()) in CollectOverriddenMethodsRecurse()
1254 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow()
1267 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow()
1341 const ObjCInterfaceDecl *ClassDecl = nullptr; in findPropertyDecl()
1348 ClassDecl = dyn_cast<ObjCInterfaceDecl>(Container); in findPropertyDecl()
1456 ObjCInterfaceDecl *ObjCInterfaceDecl::Create(const ASTContext &C, in Create()
1461 ObjCInterfaceDecl *PrevDecl, in Create()
1465 ObjCInterfaceDecl(C, DC, atLoc, Id, typeParamList, ClassLoc, PrevDecl, in Create()
1472 ObjCInterfaceDecl *ObjCInterfaceDecl::CreateDeserialized(const ASTContext &C, in CreateDeserialized()
1475 ObjCInterfaceDecl(C, nullptr, SourceLocation(), nullptr, nullptr, in CreateDeserialized()
1481 ObjCInterfaceDecl::ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, in ObjCInterfaceDecl() function in ObjCInterfaceDecl
1485 ObjCInterfaceDecl *PrevDecl, in ObjCInterfaceDecl()
1500 void ObjCInterfaceDecl::LoadExternalDefinition() const { in LoadExternalDefinition()
1504 const_cast<ObjCInterfaceDecl *>(this)); in LoadExternalDefinition()
1507 void ObjCInterfaceDecl::setExternallyCompleted() { in setExternallyCompleted()
1515 void ObjCInterfaceDecl::setHasDesignatedInitializers() { in setHasDesignatedInitializers()
1522 bool ObjCInterfaceDecl::hasDesignatedInitializers() const { in hasDesignatedInitializers()
1533 ObjCInterfaceDecl::getObjCRuntimeNameAsString() const { in getObjCRuntimeNameAsString()
1542 if (ObjCInterfaceDecl *ID = in getObjCRuntimeNameAsString()
1549 ObjCImplementationDecl *ObjCInterfaceDecl::getImplementation() const { in getImplementation()
1550 if (const ObjCInterfaceDecl *Def = getDefinition()) { in getImplementation()
1555 const_cast<ObjCInterfaceDecl*>(Def)); in getImplementation()
1562 void ObjCInterfaceDecl::setImplementation(ObjCImplementationDecl *ImplD) { in setImplementation()
1592 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() { in all_declared_ivar_begin()
1600 ObjCInterfaceDecl::ivar_iterator I = ivar_begin(), E = ivar_end(); in all_declared_ivar_begin()
1664 ObjCInterfaceDecl::FindCategoryDeclaration(IdentifierInfo *CategoryId) const { in FindCategoryDeclaration()
1680 ObjCInterfaceDecl::getCategoryInstanceMethod(Selector Sel) const { in getCategoryInstanceMethod()
1690 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const { in getCategoryClassMethod()
1703 bool ObjCInterfaceDecl::ClassImplementsProtocol(ObjCProtocolDecl *lProto, in ClassImplementsProtocol()
1709 ObjCInterfaceDecl *IDecl = this; in ClassImplementsProtocol()
1765 assert((isa<ObjCInterfaceDecl>(DC) || isa<ObjCImplementationDecl>(DC) || in Create()
1770 auto *ID = dyn_cast<ObjCInterfaceDecl>(DC); in Create()
1790 const ObjCInterfaceDecl *ObjCIvarDecl::getContainingInterface() const { in getContainingInterface()
1810 return cast<ObjCInterfaceDecl>(DC); in getContainingInterface()
1977 IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, in ObjCCategoryDecl()
1992 ObjCInterfaceDecl *IDecl, in Create()
2047 ObjCInterfaceDecl *ClassInterface, in Create()
2066 if (const ObjCInterfaceDecl *ID = getClassInterface()) in getCategoryDecl()
2079 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) { in setClassInterface()
2150 ObjCInterfaceDecl *ClassInterface, in Create()
2151 ObjCInterfaceDecl *SuperDecl, in Create()
2203 ObjCInterfaceDecl* AliasedClass) { in Create()