Lines Matching refs:IDecl

602       ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface();  in CreatePropertyDecl()  local
603 if (IDecl) in CreatePropertyDecl()
606 if (IDecl->ClassImplementsProtocol(PNSCopying, true)) in CreatePropertyDecl()
1105 ObjCInterfaceDecl *IDecl = nullptr; in ActOnPropertyImplDecl() local
1111 IDecl = IC->getClassInterface(); in ActOnPropertyImplDecl()
1114 assert(IDecl && in ActOnPropertyImplDecl()
1118 property = IDecl->FindPropertyDeclaration(PropertyId, QueryKind); in ActOnPropertyImplDecl()
1120 Diag(PropertyLoc, diag::err_bad_property_decl) << IDecl->getDeclName(); in ActOnPropertyImplDecl()
1150 for (auto *Ext : IDecl->known_extensions()) { in ActOnPropertyImplDecl()
1178 property = SelectPropertyForSynthesisFromProtocols(*this, AtLoc, IDecl, in ActOnPropertyImplDecl()
1186 IDecl = CatImplClass->getClassInterface(); in ActOnPropertyImplDecl()
1187 if (!IDecl) { in ActOnPropertyImplDecl()
1192 IDecl->FindCategoryDeclaration(CatImplClass->getIdentifier()); in ActOnPropertyImplDecl()
1219 Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared); in ActOnPropertyImplDecl()
1289 IDecl->lookupInstanceVariable(property->getIdentifier(), in ActOnPropertyImplDecl()
1350 IDecl->makeDeclVisibleInContext(Ivar); in ActOnPropertyImplDecl()
1358 !declaresSameEntity(ClassDeclared, IDecl)) { in ActOnPropertyImplDecl()
1443 getterMethod->createImplicitParams(Context, IDecl); in ActOnPropertyImplDecl()
1509 setterMethod->createImplicitParams(Context, IDecl); in ActOnPropertyImplDecl()
1585 !IDecl->isObjCRequiresPropertyDefs()) { in ActOnPropertyImplDecl()
1592 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared); in ActOnPropertyImplDecl()
1595 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared); in ActOnPropertyImplDecl()
1769 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in CollectImmediateProperties() local
1770 for (auto *Prop : IDecl->properties()) { in CollectImmediateProperties()
1778 for (auto *Ext : IDecl->visible_extensions()) in CollectImmediateProperties()
1784 for (auto *PI : IDecl->all_referenced_protocols()) in CollectImmediateProperties()
1874 static bool SuperClassImplementsProperty(ObjCInterfaceDecl *IDecl, in SuperClassImplementsProperty() argument
1881 while (IDecl->getSuperClass()) { in SuperClassImplementsProperty()
1882 ObjCInterfaceDecl *SDecl = IDecl->getSuperClass(); in SuperClassImplementsProperty()
1890 IDecl = IDecl->getSuperClass(); in SuperClassImplementsProperty()
1898 ObjCInterfaceDecl *IDecl, in DefaultSynthesizeProperties() argument
1902 IDecl->collectPropertiesToImplement(PropMap, PropertyOrder); in DefaultSynthesizeProperties()
1906 CollectSuperClassPropertyImplementations(IDecl, SuperPropMap); in DefaultSynthesizeProperties()
1944 if (!SuperClassImplementsProperty(IDecl, Prop) && !PropInSuperClass) { in DefaultSynthesizeProperties()
1963 !IDecl->HasUserDeclaredSetterMethod(Prop)) { in DefaultSynthesizeProperties()
1999 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) in DefaultSynthesizeProperties() local
2000 if (!IDecl->isObjCRequiresPropertyDefs()) in DefaultSynthesizeProperties()
2001 DefaultSynthesizeProperties(S, IC, IDecl, AtEnd); in DefaultSynthesizeProperties()
2045 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); in DiagnoseUnimplementedProperties() local
2052 if (!IDecl) in DiagnoseUnimplementedProperties()
2057 if ((IDecl = C->getClassInterface())) { in DiagnoseUnimplementedProperties()
2059 IDecl->collectPropertiesToImplement(NoNeedToImplPropMap, PO); in DiagnoseUnimplementedProperties()
2062 if (IDecl) in DiagnoseUnimplementedProperties()
2063 CollectSuperClassPropertyImplementations(IDecl, NoNeedToImplPropMap); in DiagnoseUnimplementedProperties()
2072 if (IDecl) { in DiagnoseUnimplementedProperties()
2075 for (auto *PDecl : IDecl->all_referenced_protocols()) { in DiagnoseUnimplementedProperties()
2176 ObjCInterfaceDecl* IDecl) { in AtomicPropertySetterGetterRules() argument
2181 for (auto *Prop : IDecl->properties()) in AtomicPropertySetterGetterRules()
2183 for (const auto *Ext : IDecl->known_extensions()) in AtomicPropertySetterGetterRules()