Lines Matching refs:IDecl

590       ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface();
591 if (IDecl)
594 if (IDecl->ClassImplementsProtocol(PNSCopying, true))
905 ObjCInterfaceDecl *IDecl = nullptr;
911 IDecl = IC->getClassInterface();
913 // without an interface decl. So, IDecl is always non-zero.
914 assert(IDecl &&
918 property = IDecl->FindPropertyDeclaration(PropertyId);
920 Diag(PropertyLoc, diag::error_bad_property_decl) << IDecl->getDeclName();
948 for (auto *Ext : IDecl->known_extensions()) {
976 DiagnosePropertyMismatchDeclInProtocols(*this, AtLoc, IDecl, property);
983 IDecl = CatImplClass->getClassInterface();
984 if (!IDecl) {
989 IDecl->FindCategoryDeclaration(CatImplClass->getIdentifier());
1014 // Check that this is a previously declared 'ivar' in 'IDecl' interface
1016 Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared);
1087 IDecl->lookupInstanceVariable(property->getIdentifier(),
1138 IDecl->makeDeclVisibleInContext(Ivar);
1146 !declaresSameEntity(ClassDeclared, IDecl)) {
1231 getterMethod->createImplicitParams(Context, IDecl);
1285 setterMethod->createImplicitParams(Context, IDecl);
1351 !IDecl->isObjCRequiresPropertyDefs()) {
1358 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared);
1361 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared);
1523 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) {
1524 for (auto *Prop : IDecl->properties())
1528 for (auto *Ext : IDecl->visible_extensions())
1533 for (auto *PI : IDecl->all_referenced_protocols())
1610 static bool SuperClassImplementsProperty(ObjCInterfaceDecl *IDecl,
1617 while (IDecl->getSuperClass()) {
1618 ObjCInterfaceDecl *SDecl = IDecl->getSuperClass();
1626 IDecl = IDecl->getSuperClass();
1634 ObjCInterfaceDecl *IDecl) {
1638 IDecl->collectPropertiesToImplement(PropMap, PropertyOrder);
1642 CollectSuperClassPropertyImplementations(IDecl, SuperPropMap);
1674 if (!SuperClassImplementsProperty(IDecl, Prop) && !PropInSuperClass) {
1688 !IDecl->HasUserDeclaredSetterMethod(Prop)) {
1724 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface())
1725 if (!IDecl->isObjCRequiresPropertyDefs())
1726 DefaultSynthesizeProperties(S, IC, IDecl);
1763 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl);
1769 if (!IDecl)
1774 if ((IDecl = C->getClassInterface())) {
1776 IDecl->collectPropertiesToImplement(NoNeedToImplPropMap, PO);
1779 if (IDecl)
1780 CollectSuperClassPropertyImplementations(IDecl, NoNeedToImplPropMap);
1788 if (IDecl) {
1791 for (auto *PDecl : IDecl->all_referenced_protocols()) {
1891 ObjCInterfaceDecl* IDecl) {
1896 for (auto *Prop : IDecl->properties())
1898 for (const auto *Ext : IDecl->known_extensions())