Lines Matching refs:IDecl

594       ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface();  in CreatePropertyDecl()  local
595 if (IDecl) in CreatePropertyDecl()
598 if (IDecl->ClassImplementsProtocol(PNSCopying, true)) in CreatePropertyDecl()
916 ObjCInterfaceDecl *IDecl = nullptr; in ActOnPropertyImplDecl() local
922 IDecl = IC->getClassInterface(); in ActOnPropertyImplDecl()
925 assert(IDecl && in ActOnPropertyImplDecl()
929 property = IDecl->FindPropertyDeclaration(PropertyId, QueryKind); in ActOnPropertyImplDecl()
931 Diag(PropertyLoc, diag::error_bad_property_decl) << IDecl->getDeclName(); in ActOnPropertyImplDecl()
963 for (auto *Ext : IDecl->known_extensions()) { in ActOnPropertyImplDecl()
991 DiagnosePropertyMismatchDeclInProtocols(*this, AtLoc, IDecl, property); in ActOnPropertyImplDecl()
998 IDecl = CatImplClass->getClassInterface(); in ActOnPropertyImplDecl()
999 if (!IDecl) { in ActOnPropertyImplDecl()
1004 IDecl->FindCategoryDeclaration(CatImplClass->getIdentifier()); in ActOnPropertyImplDecl()
1031 Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared); in ActOnPropertyImplDecl()
1102 IDecl->lookupInstanceVariable(property->getIdentifier(), in ActOnPropertyImplDecl()
1153 IDecl->makeDeclVisibleInContext(Ivar); in ActOnPropertyImplDecl()
1161 !declaresSameEntity(ClassDeclared, IDecl)) { in ActOnPropertyImplDecl()
1246 getterMethod->createImplicitParams(Context, IDecl); in ActOnPropertyImplDecl()
1300 setterMethod->createImplicitParams(Context, IDecl); in ActOnPropertyImplDecl()
1366 !IDecl->isObjCRequiresPropertyDefs()) { in ActOnPropertyImplDecl()
1373 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared); in ActOnPropertyImplDecl()
1376 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared); in ActOnPropertyImplDecl()
1541 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in CollectImmediateProperties() local
1542 for (auto *Prop : IDecl->properties()) { in CollectImmediateProperties()
1550 for (auto *Ext : IDecl->visible_extensions()) in CollectImmediateProperties()
1556 for (auto *PI : IDecl->all_referenced_protocols()) in CollectImmediateProperties()
1646 static bool SuperClassImplementsProperty(ObjCInterfaceDecl *IDecl, in SuperClassImplementsProperty() argument
1653 while (IDecl->getSuperClass()) { in SuperClassImplementsProperty()
1654 ObjCInterfaceDecl *SDecl = IDecl->getSuperClass(); in SuperClassImplementsProperty()
1662 IDecl = IDecl->getSuperClass(); in SuperClassImplementsProperty()
1670 ObjCInterfaceDecl *IDecl) { in DefaultSynthesizeProperties() argument
1673 IDecl->collectPropertiesToImplement(PropMap, PropertyOrder); in DefaultSynthesizeProperties()
1677 CollectSuperClassPropertyImplementations(IDecl, SuperPropMap); in DefaultSynthesizeProperties()
1713 if (!SuperClassImplementsProperty(IDecl, Prop) && !PropInSuperClass) { in DefaultSynthesizeProperties()
1727 !IDecl->HasUserDeclaredSetterMethod(Prop)) { in DefaultSynthesizeProperties()
1763 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) in DefaultSynthesizeProperties() local
1764 if (!IDecl->isObjCRequiresPropertyDefs()) in DefaultSynthesizeProperties()
1765 DefaultSynthesizeProperties(S, IC, IDecl); in DefaultSynthesizeProperties()
1810 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); in DiagnoseUnimplementedProperties() local
1817 if (!IDecl) in DiagnoseUnimplementedProperties()
1822 if ((IDecl = C->getClassInterface())) { in DiagnoseUnimplementedProperties()
1824 IDecl->collectPropertiesToImplement(NoNeedToImplPropMap, PO); in DiagnoseUnimplementedProperties()
1827 if (IDecl) in DiagnoseUnimplementedProperties()
1828 CollectSuperClassPropertyImplementations(IDecl, NoNeedToImplPropMap); in DiagnoseUnimplementedProperties()
1837 if (IDecl) { in DiagnoseUnimplementedProperties()
1840 for (auto *PDecl : IDecl->all_referenced_protocols()) { in DiagnoseUnimplementedProperties()
1943 ObjCInterfaceDecl* IDecl) { in AtomicPropertySetterGetterRules() argument
1948 for (auto *Prop : IDecl->properties()) in AtomicPropertySetterGetterRules()
1950 for (const auto *Ext : IDecl->known_extensions()) in AtomicPropertySetterGetterRules()