Lines Matching defs:IDecl

580       ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface();
581 if (IDecl)
584 if (IDecl->ClassImplementsProtocol(PNSCopying, true))
1080 ObjCInterfaceDecl *IDecl = nullptr;
1086 IDecl = IC->getClassInterface();
1088 // without an interface decl. So, IDecl is always non-zero.
1089 assert(IDecl &&
1093 property = IDecl->FindPropertyDeclaration(PropertyId, QueryKind);
1095 Diag(PropertyLoc, diag::err_bad_property_decl) << IDecl->getDeclName();
1125 for (auto *Ext : IDecl->known_extensions()) {
1152 property = SelectPropertyForSynthesisFromProtocols(SemaRef, AtLoc, IDecl,
1160 IDecl = CatImplClass->getClassInterface();
1161 if (!IDecl) {
1166 IDecl->FindCategoryDeclaration(CatImplClass->getIdentifier());
1191 // Check that this is a previously declared 'ivar' in 'IDecl' interface
1193 Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared);
1263 IDecl->lookupInstanceVariable(property->getIdentifier(),
1323 IDecl->makeDeclVisibleInContext(Ivar);
1331 !declaresSameEntity(ClassDeclared, IDecl)) {
1413 getterMethod->createImplicitParams(Context, IDecl);
1478 setterMethod->createImplicitParams(Context, IDecl);
1554 !IDecl->isObjCRequiresPropertyDefs()) {
1561 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared);
1564 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared);
1739 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) {
1740 for (auto *Prop : IDecl->properties()) {
1748 for (auto *Ext : IDecl->visible_extensions())
1754 for (auto *PI : IDecl->all_referenced_protocols())
1843 static bool SuperClassImplementsProperty(ObjCInterfaceDecl *IDecl,
1850 while (IDecl->getSuperClass()) {
1851 ObjCInterfaceDecl *SDecl = IDecl->getSuperClass();
1859 IDecl = IDecl->getSuperClass();
1867 ObjCInterfaceDecl *IDecl,
1871 IDecl->collectPropertiesToImplement(PropMap);
1875 CollectSuperClassPropertyImplementations(IDecl, SuperPropMap);
1913 if (!SuperClassImplementsProperty(IDecl, Prop) && !PropInSuperClass) {
1932 !IDecl->HasUserDeclaredSetterMethod(Prop)) {
1969 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface())
1970 if (!IDecl->isObjCRequiresPropertyDefs())
1971 DefaultSynthesizeProperties(S, IC, IDecl, AtEnd);
2015 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl);
2022 if (!IDecl)
2027 if ((IDecl = C->getClassInterface())) {
2028 IDecl->collectPropertiesToImplement(NoNeedToImplPropMap);
2031 if (IDecl)
2032 CollectSuperClassPropertyImplementations(IDecl, NoNeedToImplPropMap);
2041 if (IDecl) {
2044 for (auto *PDecl : IDecl->all_referenced_protocols()) {
2145 ObjCInterfaceDecl *IDecl) {
2150 for (auto *Prop : IDecl->properties())
2152 for (const auto *Ext : IDecl->known_extensions())