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) const { in collectPropertiesToImplement()
423 bool ObjCInterfaceDecl::isArcWeakrefUnavailable() const { in isArcWeakrefUnavailable()
424 const ObjCInterfaceDecl *Class = this; in isArcWeakrefUnavailable()
433 const ObjCInterfaceDecl *ObjCInterfaceDecl::isObjCRequiresPropertyDefs() const { in isObjCRequiresPropertyDefs()
434 const ObjCInterfaceDecl *Class = this; in isObjCRequiresPropertyDefs()
443 void ObjCInterfaceDecl::mergeClassExtensionProtocolList( in mergeClassExtensionProtocolList()
484 const ObjCInterfaceDecl *
485 ObjCInterfaceDecl::findInterfaceWithDesignatedInitializers() const { in findInterfaceWithDesignatedInitializers()
486 const ObjCInterfaceDecl *IFace = this; in findInterfaceWithDesignatedInitializers()
497 static bool isIntroducingInitializers(const ObjCInterfaceDecl *D) { in isIntroducingInitializers()
517 bool ObjCInterfaceDecl::inheritsDesignatedInitializers() const { in inheritsDesignatedInitializers()
549 void ObjCInterfaceDecl::getDesignatedInitializers( in getDesignatedInitializers()
557 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); in getDesignatedInitializers()
571 bool ObjCInterfaceDecl::isDesignatedInitializer(Selector Sel, in isDesignatedInitializer()
588 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); in isDesignatedInitializer()
611 void ObjCInterfaceDecl::allocateDefinitionData() { in allocateDefinitionData()
617 void ObjCInterfaceDecl::startDefinition() { in startDefinition()
627 void ObjCInterfaceDecl::startDuplicateDefinitionForComparison() { in startDuplicateDefinitionForComparison()
633 void ObjCInterfaceDecl::mergeDuplicateDefinitionWithCommon( in mergeDuplicateDefinitionWithCommon()
634 const ObjCInterfaceDecl *Definition) { in mergeDuplicateDefinitionWithCommon()
638 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID, in lookupInstanceVariable()
639 ObjCInterfaceDecl *&clsDeclared) { in lookupInstanceVariable()
647 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable()
669 ObjCInterfaceDecl *ObjCInterfaceDecl::lookupInheritedClass( in lookupInheritedClass()
678 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass()
688 ObjCInterfaceDecl::lookupNestedProtocol(IdentifierInfo *Name) { in lookupNestedProtocol()
692 ObjCInterfaceDecl *SuperClass = getSuperClass(); in lookupNestedProtocol()
700 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod()
710 const ObjCInterfaceDecl* ClassDecl = this; in lookupMethod()
757 ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod( in lookupPrivateMethod()
792 unsigned ObjCInterfaceDecl::getODRHash() { in getODRHash()
808 bool ObjCInterfaceDecl::hasODRHash() const { in hasODRHash()
814 void ObjCInterfaceDecl::setHasODRHash(bool HasHash) { in setHasODRHash()
884 if (const auto *ID = dyn_cast<const ObjCInterfaceDecl>(getDeclContext())) in definedInNSObject()
896 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface()
974 if (auto *IFD = dyn_cast<ObjCInterfaceDecl>(CtxD)) { in getNextRedeclarationImpl()
985 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getNextRedeclarationImpl()
1017 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) { in getCanonicalDecl()
1146 const ObjCInterfaceDecl *OID, in getSelfType()
1191 const ObjCInterfaceDecl *OID) { in createImplicitParams()
1211 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface()
1212 if (auto *ID = dyn_cast<ObjCInterfaceDecl>(getDeclContext())) in getClassInterface()
1299 if (const auto *Interface = dyn_cast<ObjCInterfaceDecl>(Container)) { in CollectOverriddenMethodsRecurse()
1306 if (const ObjCInterfaceDecl *Super = Interface->getSuperClass()) in CollectOverriddenMethodsRecurse()
1329 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow()
1342 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow()
1422 const ObjCInterfaceDecl *ClassDecl = nullptr; in findPropertyDecl()
1429 ClassDecl = cast<ObjCInterfaceDecl>(Container); in findPropertyDecl()
1542 ObjCInterfaceDecl *ObjCInterfaceDecl::Create(const ASTContext &C, in Create()
1547 ObjCInterfaceDecl *PrevDecl, in Create()
1551 ObjCInterfaceDecl(C, DC, atLoc, Id, typeParamList, ClassLoc, PrevDecl, in Create()
1558 ObjCInterfaceDecl *ObjCInterfaceDecl::CreateDeserialized(const ASTContext &C, in CreateDeserialized()
1561 ObjCInterfaceDecl(C, nullptr, SourceLocation(), nullptr, nullptr, in CreateDeserialized()
1567 ObjCInterfaceDecl::ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, in ObjCInterfaceDecl() function in ObjCInterfaceDecl
1571 ObjCInterfaceDecl *PrevDecl, in ObjCInterfaceDecl()
1586 void ObjCInterfaceDecl::LoadExternalDefinition() const { in LoadExternalDefinition()
1590 const_cast<ObjCInterfaceDecl *>(this)); in LoadExternalDefinition()
1593 void ObjCInterfaceDecl::setExternallyCompleted() { in setExternallyCompleted()
1601 void ObjCInterfaceDecl::setHasDesignatedInitializers() { in setHasDesignatedInitializers()
1608 bool ObjCInterfaceDecl::hasDesignatedInitializers() const { in hasDesignatedInitializers()
1619 ObjCInterfaceDecl::getObjCRuntimeNameAsString() const { in getObjCRuntimeNameAsString()
1628 if (ObjCInterfaceDecl *ID = in getObjCRuntimeNameAsString()
1635 ObjCImplementationDecl *ObjCInterfaceDecl::getImplementation() const { in getImplementation()
1636 if (const ObjCInterfaceDecl *Def = getDefinition()) { in getImplementation()
1641 const_cast<ObjCInterfaceDecl*>(Def)); in getImplementation()
1648 void ObjCInterfaceDecl::setImplementation(ObjCImplementationDecl *ImplD) { in setImplementation()
1678 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() { in all_declared_ivar_begin()
1691 ObjCInterfaceDecl::ivar_iterator I = ivar_begin(), E = ivar_end(); in all_declared_ivar_begin()
1755 ObjCInterfaceDecl::FindCategoryDeclaration(IdentifierInfo *CategoryId) const { in FindCategoryDeclaration()
1771 ObjCInterfaceDecl::getCategoryInstanceMethod(Selector Sel) const { in getCategoryInstanceMethod()
1781 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const { in getCategoryClassMethod()
1794 bool ObjCInterfaceDecl::ClassImplementsProtocol(ObjCProtocolDecl *lProto, in ClassImplementsProtocol()
1800 ObjCInterfaceDecl *IDecl = this; in ClassImplementsProtocol()
1856 assert((isa<ObjCInterfaceDecl>(DC) || isa<ObjCImplementationDecl>(DC) || in Create()
1861 auto *ID = dyn_cast<ObjCInterfaceDecl>(DC); in Create()
1881 ObjCInterfaceDecl *ObjCIvarDecl::getContainingInterface() { in getContainingInterface()
1901 return cast<ObjCInterfaceDecl>(DC); in getContainingInterface()
2126 IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, in ObjCCategoryDecl()
2141 ObjCInterfaceDecl *IDecl, in Create()
2196 ObjCInterfaceDecl *ClassInterface, in Create()
2215 if (const ObjCInterfaceDecl *ID = getClassInterface()) in getCategoryDecl()
2228 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) { in setClassInterface()
2299 ObjCInterfaceDecl *ClassInterface, in Create()
2300 ObjCInterfaceDecl *SuperDecl, in Create()
2352 ObjCInterfaceDecl* AliasedClass) { in Create()