Lines Matching refs:ObjCInterfaceDecl
112 if (const ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(this)) { in HasUserDeclaredSetterMethod()
139 ObjCInterfaceDecl *OSC = ID->getSuperClass(); in HasUserDeclaredSetterMethod()
209 const ObjCInterfaceDecl *OID = cast<ObjCInterfaceDecl>(this); in FindPropertyDeclaration()
223 if (const ObjCInterfaceDecl *superClass = OID->getSuperClass()) in FindPropertyDeclaration()
240 void ObjCInterfaceDecl::anchor() { } in anchor()
242 ObjCTypeParamList *ObjCInterfaceDecl::getTypeParamList() const { in getTypeParamList()
248 if (const ObjCInterfaceDecl *def = getDefinition()) in getTypeParamList()
262 void ObjCInterfaceDecl::setTypeParamList(ObjCTypeParamList *TPL) { in setTypeParamList()
271 ObjCInterfaceDecl *ObjCInterfaceDecl::getSuperClass() const { in getSuperClass()
280 if (ObjCInterfaceDecl *superDecl = superType->getInterface()) { in getSuperClass()
281 if (ObjCInterfaceDecl *superDef = superDecl->getDefinition()) in getSuperClass()
291 SourceLocation ObjCInterfaceDecl::getSuperClassLoc() const { in getSuperClassLoc()
303 ObjCInterfaceDecl::FindPropertyVisibleInPrimaryClass( in FindPropertyVisibleInPrimaryClass()
324 void ObjCInterfaceDecl::collectPropertiesToImplement(PropertyMap &PM, in collectPropertiesToImplement()
337 bool ObjCInterfaceDecl::isArcWeakrefUnavailable() const { in isArcWeakrefUnavailable()
338 const ObjCInterfaceDecl *Class = this; in isArcWeakrefUnavailable()
347 const ObjCInterfaceDecl *ObjCInterfaceDecl::isObjCRequiresPropertyDefs() const { in isObjCRequiresPropertyDefs()
348 const ObjCInterfaceDecl *Class = this; in isObjCRequiresPropertyDefs()
357 void ObjCInterfaceDecl::mergeClassExtensionProtocolList( in mergeClassExtensionProtocolList()
399 const ObjCInterfaceDecl *
400 ObjCInterfaceDecl::findInterfaceWithDesignatedInitializers() const { in findInterfaceWithDesignatedInitializers()
401 const ObjCInterfaceDecl *IFace = this; in findInterfaceWithDesignatedInitializers()
412 static bool isIntroducingInitializers(const ObjCInterfaceDecl *D) { in isIntroducingInitializers()
432 bool ObjCInterfaceDecl::inheritsDesignatedInitializers() const { in inheritsDesignatedInitializers()
465 void ObjCInterfaceDecl::getDesignatedInitializers( in getDesignatedInitializers()
473 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); in getDesignatedInitializers()
487 bool ObjCInterfaceDecl::isDesignatedInitializer(Selector Sel, in isDesignatedInitializer()
495 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); in isDesignatedInitializer()
518 void ObjCInterfaceDecl::allocateDefinitionData() { in allocateDefinitionData()
528 void ObjCInterfaceDecl::startDefinition() { in startDefinition()
538 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID, in lookupInstanceVariable()
539 ObjCInterfaceDecl *&clsDeclared) { in lookupInstanceVariable()
547 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable()
569 ObjCInterfaceDecl *ObjCInterfaceDecl::lookupInheritedClass( in lookupInheritedClass()
578 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass()
588 ObjCInterfaceDecl::lookupNestedProtocol(IdentifierInfo *Name) { in lookupNestedProtocol()
592 ObjCInterfaceDecl *SuperClass = getSuperClass(); in lookupNestedProtocol()
600 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod()
610 const ObjCInterfaceDecl* ClassDecl = this; in lookupMethod()
658 ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod( in lookupPrivateMethod()
726 if (const ObjCInterfaceDecl *ID = getClassInterface()) in isDesignatedInitializerForTheInterface()
793 if (ObjCInterfaceDecl *IFD = dyn_cast<ObjCInterfaceDecl>(CtxD)) { in getNextRedeclarationImpl()
805 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getNextRedeclarationImpl()
830 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getCanonicalDecl()
949 const ObjCInterfaceDecl *OID, in getSelfType()
994 const ObjCInterfaceDecl *OID) { in createImplicitParams()
1014 ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() { in getClassInterface()
1015 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(getDeclContext())) in getClassInterface()
1095 if (const ObjCInterfaceDecl * in CollectOverriddenMethodsRecurse()
1096 Interface = dyn_cast<ObjCInterfaceDecl>(Container)) { in CollectOverriddenMethodsRecurse()
1103 if (const ObjCInterfaceDecl *Super = Interface->getSuperClass()) in CollectOverriddenMethodsRecurse()
1126 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow()
1139 const ObjCInterfaceDecl *ID = CatD->getClassInterface(); in collectOverriddenMethodsSlow()
1296 ObjCInterfaceDecl *ObjCInterfaceDecl::Create(const ASTContext &C, in Create()
1301 ObjCInterfaceDecl *PrevDecl, in Create()
1304 ObjCInterfaceDecl *Result = new (C, DC) in Create()
1305 ObjCInterfaceDecl(C, DC, atLoc, Id, typeParamList, ClassLoc, PrevDecl, in Create()
1312 ObjCInterfaceDecl *ObjCInterfaceDecl::CreateDeserialized(const ASTContext &C, in CreateDeserialized()
1314 ObjCInterfaceDecl *Result = new (C, ID) ObjCInterfaceDecl(C, nullptr, in CreateDeserialized()
1324 ObjCInterfaceDecl::ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, in ObjCInterfaceDecl() function in ObjCInterfaceDecl
1328 ObjCInterfaceDecl *PrevDecl, in ObjCInterfaceDecl()
1344 void ObjCInterfaceDecl::LoadExternalDefinition() const { in LoadExternalDefinition()
1348 const_cast<ObjCInterfaceDecl *>(this)); in LoadExternalDefinition()
1351 void ObjCInterfaceDecl::setExternallyCompleted() { in setExternallyCompleted()
1359 void ObjCInterfaceDecl::setHasDesignatedInitializers() { in setHasDesignatedInitializers()
1366 bool ObjCInterfaceDecl::hasDesignatedInitializers() const { in hasDesignatedInitializers()
1377 ObjCInterfaceDecl::getObjCRuntimeNameAsString() const { in getObjCRuntimeNameAsString()
1386 if (ObjCInterfaceDecl *ID = in getObjCRuntimeNameAsString()
1393 ObjCImplementationDecl *ObjCInterfaceDecl::getImplementation() const { in getImplementation()
1394 if (const ObjCInterfaceDecl *Def = getDefinition()) { in getImplementation()
1399 const_cast<ObjCInterfaceDecl*>(Def)); in getImplementation()
1406 void ObjCInterfaceDecl::setImplementation(ObjCImplementationDecl *ImplD) { in setImplementation()
1433 ObjCIvarDecl *ObjCInterfaceDecl::all_declared_ivar_begin() { in all_declared_ivar_begin()
1441 ObjCInterfaceDecl::ivar_iterator I = ivar_begin(), E = ivar_end(); in all_declared_ivar_begin()
1505 ObjCInterfaceDecl::FindCategoryDeclaration(IdentifierInfo *CategoryId) const { in FindCategoryDeclaration()
1521 ObjCInterfaceDecl::getCategoryInstanceMethod(Selector Sel) const { in getCategoryInstanceMethod()
1531 ObjCMethodDecl *ObjCInterfaceDecl::getCategoryClassMethod(Selector Sel) const { in getCategoryClassMethod()
1544 bool ObjCInterfaceDecl::ClassImplementsProtocol(ObjCProtocolDecl *lProto, in ClassImplementsProtocol()
1550 ObjCInterfaceDecl *IDecl = this; in ClassImplementsProtocol()
1606 assert((isa<ObjCInterfaceDecl>(DC) || isa<ObjCImplementationDecl>(DC) || in Create()
1611 ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(DC); in Create()
1631 const ObjCInterfaceDecl *ObjCIvarDecl::getContainingInterface() const { in getContainingInterface()
1651 return cast<ObjCInterfaceDecl>(DC); in getContainingInterface()
1819 IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, in ObjCCategoryDecl()
1836 ObjCInterfaceDecl *IDecl, in Create()
1892 ObjCInterfaceDecl *ClassInterface, in Create()
1911 if (const ObjCInterfaceDecl *ID = getClassInterface()) in getCategoryDecl()
1925 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) { in setClassInterface()
1981 ObjCInterfaceDecl *ClassInterface, in Create()
1982 ObjCInterfaceDecl *SuperDecl, in Create()
2035 ObjCInterfaceDecl* AliasedClass) { in Create()