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()
249 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration()
273 const auto *OID = cast<ObjCInterfaceDecl>(this); in FindPropertyDeclaration()
289 if (const ObjCInterfaceDecl *superClass = OID->getSuperClass()) in FindPropertyDeclaration()
307 void ObjCInterfaceDecl::anchor() {} in anchor()
309 ObjCTypeParamList *ObjCInterfaceDecl::getTypeParamList() const { in getTypeParamList()
315 if (const ObjCInterfaceDecl *def = getDefinition()) in getTypeParamList()
321 for (const ObjCInterfaceDecl *decl = getMostRecentDecl(); decl; in getTypeParamList()
330 void ObjCInterfaceDecl::setTypeParamList(ObjCTypeParamList *TPL) { in setTypeParamList()
339 ObjCInterfaceDecl *ObjCInterfaceDecl::getSuperClass() const { in getSuperClass()
348 if (ObjCInterfaceDecl *superDecl = superType->getInterface()) { in getSuperClass()
349 if (ObjCInterfaceDecl *superDef = superDecl->getDefinition()) in getSuperClass()
359 SourceLocation ObjCInterfaceDecl::getSuperClassLoc() const { in getSuperClassLoc()
370 ObjCInterfaceDecl::FindPropertyVisibleInPrimaryClass( in FindPropertyVisibleInPrimaryClass()
394 void ObjCInterfaceDecl::collectPropertiesToImplement(PropertyMap &PM, in collectPropertiesToImplement()
414 bool ObjCInterfaceDecl::isArcWeakrefUnavailable() const { in isArcWeakrefUnavailable()
415 const ObjCInterfaceDecl *Class = this; in isArcWeakrefUnavailable()
424 const ObjCInterfaceDecl *ObjCInterfaceDecl::isObjCRequiresPropertyDefs() const { in isObjCRequiresPropertyDefs()
425 const ObjCInterfaceDecl *Class = this; in isObjCRequiresPropertyDefs()
434 void ObjCInterfaceDecl::mergeClassExtensionProtocolList( in mergeClassExtensionProtocolList()
475 const ObjCInterfaceDecl *
476 ObjCInterfaceDecl::findInterfaceWithDesignatedInitializers() const { in findInterfaceWithDesignatedInitializers()
477 const ObjCInterfaceDecl *IFace = this; in findInterfaceWithDesignatedInitializers()
488 static bool isIntroducingInitializers(const ObjCInterfaceDecl *D) { in isIntroducingInitializers()
508 bool ObjCInterfaceDecl::inheritsDesignatedInitializers() const { in inheritsDesignatedInitializers()
540 void ObjCInterfaceDecl::getDesignatedInitializers( in getDesignatedInitializers()
548 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); in getDesignatedInitializers()
562 bool ObjCInterfaceDecl::isDesignatedInitializer(Selector Sel, in isDesignatedInitializer()
579 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); in isDesignatedInitializer()
602 void ObjCInterfaceDecl::allocateDefinitionData() { in allocateDefinitionData()
612 void ObjCInterfaceDecl::startDefinition() { in startDefinition()
622 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID, in lookupInstanceVariable()
623 ObjCInterfaceDecl *&clsDeclared) { in lookupInstanceVariable()
631 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable()
653 ObjCInterfaceDecl *ObjCInterfaceDecl::lookupInheritedClass( in lookupInheritedClass()
662 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass()
672 ObjCInterfaceDecl::lookupNestedProtocol(IdentifierInfo *Name) { in lookupNestedProtocol()
676 ObjCInterfaceDecl *SuperClass = getSuperClass(); in lookupNestedProtocol()
684 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod()
694 const ObjCInterfaceDecl* ClassDecl = this; in lookupMethod()
741 ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod( in lookupPrivateMethod()
841 if (const auto *ID = dyn_cast<const ObjCInterfaceDecl>(getDeclContext())) in definedInNSObject()
853 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface()
923 if (auto *IFD = dyn_cast<ObjCInterfaceDecl>(CtxD)) { in getNextRedeclarationImpl()
934 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getNextRedeclarationImpl()
966 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) { in getCanonicalDecl()
1095 const ObjCInterfaceDecl *OID, in getSelfType()
1140 const ObjCInterfaceDecl *OID) { in createImplicitParams()
1160 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface()
1161 if (auto *ID = dyn_cast<ObjCInterfaceDecl>(getDeclContext())) in getClassInterface()
1248 if (const auto *Interface = dyn_cast<ObjCInterfaceDecl>(Container)) { in CollectOverriddenMethodsRecurse()
1255 if (const ObjCInterfaceDecl *Super = Interface->getSuperClass()) in CollectOverriddenMethodsRecurse()
1278 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow()
1291 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow()
1371 const ObjCInterfaceDecl *ClassDecl = nullptr; in findPropertyDecl()
1378 ClassDecl = cast<ObjCInterfaceDecl>(Container); in findPropertyDecl()
1491 ObjCInterfaceDecl *ObjCInterfaceDecl::Create(const ASTContext &C, in Create()
1496 ObjCInterfaceDecl *PrevDecl, in Create()
1500 ObjCInterfaceDecl(C, DC, atLoc, Id, typeParamList, ClassLoc, PrevDecl, in Create()
1507 ObjCInterfaceDecl *ObjCInterfaceDecl::CreateDeserialized(const ASTContext &C, in CreateDeserialized()
1510 ObjCInterfaceDecl(C, nullptr, SourceLocation(), nullptr, nullptr, in CreateDeserialized()
1516 ObjCInterfaceDecl::ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, in ObjCInterfaceDecl() function in ObjCInterfaceDecl
1520 ObjCInterfaceDecl *PrevDecl, in ObjCInterfaceDecl()
1535 void ObjCInterfaceDecl::LoadExternalDefinition() const { in LoadExternalDefinition()
1539 const_cast<ObjCInterfaceDecl *>(this)); in LoadExternalDefinition()
1542 void ObjCInterfaceDecl::setExternallyCompleted() { in setExternallyCompleted()
1550 void ObjCInterfaceDecl::setHasDesignatedInitializers() { in setHasDesignatedInitializers()
1557 bool ObjCInterfaceDecl::hasDesignatedInitializers() const { in hasDesignatedInitializers()
1568 ObjCInterfaceDecl::getObjCRuntimeNameAsString() const { in getObjCRuntimeNameAsString()
1577 if (ObjCInterfaceDecl *ID = in getObjCRuntimeNameAsString()
1584 ObjCImplementationDecl *ObjCInterfaceDecl::getImplementation() const { in getImplementation()
1585 if (const ObjCInterfaceDecl *Def = getDefinition()) { in getImplementation()
1590 const_cast<ObjCInterfaceDecl*>(Def)); in getImplementation()
1597 void ObjCInterfaceDecl::setImplementation(ObjCImplementationDecl *ImplD) { in setImplementation()
1627 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() { in all_declared_ivar_begin()
1635 ObjCInterfaceDecl::ivar_iterator I = ivar_begin(), E = ivar_end(); in all_declared_ivar_begin()
1699 ObjCInterfaceDecl::FindCategoryDeclaration(IdentifierInfo *CategoryId) const { in FindCategoryDeclaration()
1715 ObjCInterfaceDecl::getCategoryInstanceMethod(Selector Sel) const { in getCategoryInstanceMethod()
1725 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const { in getCategoryClassMethod()
1738 bool ObjCInterfaceDecl::ClassImplementsProtocol(ObjCProtocolDecl *lProto, in ClassImplementsProtocol()
1744 ObjCInterfaceDecl *IDecl = this; in ClassImplementsProtocol()
1800 assert((isa<ObjCInterfaceDecl>(DC) || isa<ObjCImplementationDecl>(DC) || in Create()
1805 auto *ID = dyn_cast<ObjCInterfaceDecl>(DC); in Create()
1825 const ObjCInterfaceDecl *ObjCIvarDecl::getContainingInterface() const { in getContainingInterface()
1845 return cast<ObjCInterfaceDecl>(DC); in getContainingInterface()
2033 IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, in ObjCCategoryDecl()
2048 ObjCInterfaceDecl *IDecl, in Create()
2103 ObjCInterfaceDecl *ClassInterface, in Create()
2122 if (const ObjCInterfaceDecl *ID = getClassInterface()) in getCategoryDecl()
2135 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) { in setClassInterface()
2206 ObjCInterfaceDecl *ClassInterface, in Create()
2207 ObjCInterfaceDecl *SuperDecl, in Create()
2259 ObjCInterfaceDecl* AliasedClass) { in Create()