Lines Matching refs:ObjCInterfaceDecl
135 if (const auto *ID = dyn_cast<ObjCInterfaceDecl>(this)) { in HasUserDeclaredSetterMethod()
163 ObjCInterfaceDecl *OSC = ID->getSuperClass(); in HasUserDeclaredSetterMethod()
191 if (auto *IDecl = dyn_cast<ObjCInterfaceDecl>(DC)) { in findPropertyDecl()
261 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration()
285 const auto *OID = cast<ObjCInterfaceDecl>(this); in FindPropertyDeclaration()
301 if (const ObjCInterfaceDecl *superClass = OID->getSuperClass()) in FindPropertyDeclaration()
319 void ObjCInterfaceDecl::anchor() {} in anchor()
321 ObjCTypeParamList *ObjCInterfaceDecl::getTypeParamList() const { in getTypeParamList()
327 if (const ObjCInterfaceDecl *def = getDefinition()) in getTypeParamList()
333 for (const ObjCInterfaceDecl *decl = getMostRecentDecl(); decl; in getTypeParamList()
342 void ObjCInterfaceDecl::setTypeParamList(ObjCTypeParamList *TPL) { in setTypeParamList()
351 ObjCInterfaceDecl *ObjCInterfaceDecl::getSuperClass() const { in getSuperClass()
360 if (ObjCInterfaceDecl *superDecl = superType->getInterface()) { in getSuperClass()
361 if (ObjCInterfaceDecl *superDef = superDecl->getDefinition()) in getSuperClass()
371 SourceLocation ObjCInterfaceDecl::getSuperClassLoc() const { in getSuperClassLoc()
382 ObjCInterfaceDecl::FindPropertyVisibleInPrimaryClass( in FindPropertyVisibleInPrimaryClass()
406 void ObjCInterfaceDecl::collectPropertiesToImplement(PropertyMap &PM, in collectPropertiesToImplement()
426 bool ObjCInterfaceDecl::isArcWeakrefUnavailable() const { in isArcWeakrefUnavailable()
427 const ObjCInterfaceDecl *Class = this; in isArcWeakrefUnavailable()
436 const ObjCInterfaceDecl *ObjCInterfaceDecl::isObjCRequiresPropertyDefs() const { in isObjCRequiresPropertyDefs()
437 const ObjCInterfaceDecl *Class = this; in isObjCRequiresPropertyDefs()
446 void ObjCInterfaceDecl::mergeClassExtensionProtocolList( in mergeClassExtensionProtocolList()
487 const ObjCInterfaceDecl *
488 ObjCInterfaceDecl::findInterfaceWithDesignatedInitializers() const { in findInterfaceWithDesignatedInitializers()
489 const ObjCInterfaceDecl *IFace = this; in findInterfaceWithDesignatedInitializers()
500 static bool isIntroducingInitializers(const ObjCInterfaceDecl *D) { in isIntroducingInitializers()
520 bool ObjCInterfaceDecl::inheritsDesignatedInitializers() const { in inheritsDesignatedInitializers()
552 void ObjCInterfaceDecl::getDesignatedInitializers( in getDesignatedInitializers()
560 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); in getDesignatedInitializers()
574 bool ObjCInterfaceDecl::isDesignatedInitializer(Selector Sel, in isDesignatedInitializer()
591 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); in isDesignatedInitializer()
614 void ObjCInterfaceDecl::allocateDefinitionData() { in allocateDefinitionData()
620 void ObjCInterfaceDecl::startDefinition() { in startDefinition()
630 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID, in lookupInstanceVariable()
631 ObjCInterfaceDecl *&clsDeclared) { in lookupInstanceVariable()
639 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable()
661 ObjCInterfaceDecl *ObjCInterfaceDecl::lookupInheritedClass( in lookupInheritedClass()
670 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass()
680 ObjCInterfaceDecl::lookupNestedProtocol(IdentifierInfo *Name) { in lookupNestedProtocol()
684 ObjCInterfaceDecl *SuperClass = getSuperClass(); in lookupNestedProtocol()
692 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod()
702 const ObjCInterfaceDecl* ClassDecl = this; in lookupMethod()
749 ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod( in lookupPrivateMethod()
849 if (const auto *ID = dyn_cast<const ObjCInterfaceDecl>(getDeclContext())) in definedInNSObject()
861 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface()
939 if (auto *IFD = dyn_cast<ObjCInterfaceDecl>(CtxD)) { in getNextRedeclarationImpl()
950 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getNextRedeclarationImpl()
982 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) { in getCanonicalDecl()
1111 const ObjCInterfaceDecl *OID, in getSelfType()
1156 const ObjCInterfaceDecl *OID) { in createImplicitParams()
1176 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface()
1177 if (auto *ID = dyn_cast<ObjCInterfaceDecl>(getDeclContext())) in getClassInterface()
1264 if (const auto *Interface = dyn_cast<ObjCInterfaceDecl>(Container)) { in CollectOverriddenMethodsRecurse()
1271 if (const ObjCInterfaceDecl *Super = Interface->getSuperClass()) in CollectOverriddenMethodsRecurse()
1294 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow()
1307 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow()
1387 const ObjCInterfaceDecl *ClassDecl = nullptr; in findPropertyDecl()
1394 ClassDecl = cast<ObjCInterfaceDecl>(Container); in findPropertyDecl()
1507 ObjCInterfaceDecl *ObjCInterfaceDecl::Create(const ASTContext &C, in Create()
1512 ObjCInterfaceDecl *PrevDecl, in Create()
1516 ObjCInterfaceDecl(C, DC, atLoc, Id, typeParamList, ClassLoc, PrevDecl, in Create()
1523 ObjCInterfaceDecl *ObjCInterfaceDecl::CreateDeserialized(const ASTContext &C, in CreateDeserialized()
1526 ObjCInterfaceDecl(C, nullptr, SourceLocation(), nullptr, nullptr, in CreateDeserialized()
1532 ObjCInterfaceDecl::ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, in ObjCInterfaceDecl() function in ObjCInterfaceDecl
1536 ObjCInterfaceDecl *PrevDecl, in ObjCInterfaceDecl()
1551 void ObjCInterfaceDecl::LoadExternalDefinition() const { in LoadExternalDefinition()
1555 const_cast<ObjCInterfaceDecl *>(this)); in LoadExternalDefinition()
1558 void ObjCInterfaceDecl::setExternallyCompleted() { in setExternallyCompleted()
1566 void ObjCInterfaceDecl::setHasDesignatedInitializers() { in setHasDesignatedInitializers()
1573 bool ObjCInterfaceDecl::hasDesignatedInitializers() const { in hasDesignatedInitializers()
1584 ObjCInterfaceDecl::getObjCRuntimeNameAsString() const { in getObjCRuntimeNameAsString()
1593 if (ObjCInterfaceDecl *ID = in getObjCRuntimeNameAsString()
1600 ObjCImplementationDecl *ObjCInterfaceDecl::getImplementation() const { in getImplementation()
1601 if (const ObjCInterfaceDecl *Def = getDefinition()) { in getImplementation()
1606 const_cast<ObjCInterfaceDecl*>(Def)); in getImplementation()
1613 void ObjCInterfaceDecl::setImplementation(ObjCImplementationDecl *ImplD) { in setImplementation()
1643 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() { in all_declared_ivar_begin()
1656 ObjCInterfaceDecl::ivar_iterator I = ivar_begin(), E = ivar_end(); in all_declared_ivar_begin()
1720 ObjCInterfaceDecl::FindCategoryDeclaration(IdentifierInfo *CategoryId) const { in FindCategoryDeclaration()
1736 ObjCInterfaceDecl::getCategoryInstanceMethod(Selector Sel) const { in getCategoryInstanceMethod()
1746 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const { in getCategoryClassMethod()
1759 bool ObjCInterfaceDecl::ClassImplementsProtocol(ObjCProtocolDecl *lProto, in ClassImplementsProtocol()
1765 ObjCInterfaceDecl *IDecl = this; in ClassImplementsProtocol()
1821 assert((isa<ObjCInterfaceDecl>(DC) || isa<ObjCImplementationDecl>(DC) || in Create()
1826 auto *ID = dyn_cast<ObjCInterfaceDecl>(DC); in Create()
1846 ObjCInterfaceDecl *ObjCIvarDecl::getContainingInterface() { in getContainingInterface()
1866 return cast<ObjCInterfaceDecl>(DC); in getContainingInterface()
2054 IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, in ObjCCategoryDecl()
2069 ObjCInterfaceDecl *IDecl, in Create()
2124 ObjCInterfaceDecl *ClassInterface, in Create()
2143 if (const ObjCInterfaceDecl *ID = getClassInterface()) in getCategoryDecl()
2156 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) { in setClassInterface()
2227 ObjCInterfaceDecl *ClassInterface, in Create()
2228 ObjCInterfaceDecl *SuperDecl, in Create()
2280 ObjCInterfaceDecl* AliasedClass) { in Create()