Lines Matching defs:IDecl

578       ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface();
579 if (IDecl)
582 if (IDecl->ClassImplementsProtocol(PNSCopying, true))
1078 ObjCInterfaceDecl *IDecl = nullptr;
1084 IDecl = IC->getClassInterface();
1086 // without an interface decl. So, IDecl is always non-zero.
1087 assert(IDecl &&
1091 property = IDecl->FindPropertyDeclaration(PropertyId, QueryKind);
1093 Diag(PropertyLoc, diag::err_bad_property_decl) << IDecl->getDeclName();
1123 for (auto *Ext : IDecl->known_extensions()) {
1150 property = SelectPropertyForSynthesisFromProtocols(SemaRef, AtLoc, IDecl,
1158 IDecl = CatImplClass->getClassInterface();
1159 if (!IDecl) {
1164 IDecl->FindCategoryDeclaration(CatImplClass->getIdentifier());
1189 // Check that this is a previously declared 'ivar' in 'IDecl' interface
1191 Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared);
1261 IDecl->lookupInstanceVariable(property->getIdentifier(),
1321 IDecl->makeDeclVisibleInContext(Ivar);
1329 !declaresSameEntity(ClassDeclared, IDecl)) {
1411 getterMethod->createImplicitParams(Context, IDecl);
1476 setterMethod->createImplicitParams(Context, IDecl);
1552 !IDecl->isObjCRequiresPropertyDefs()) {
1559 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared);
1562 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared);
1737 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) {
1738 for (auto *Prop : IDecl->properties()) {
1746 for (auto *Ext : IDecl->visible_extensions())
1752 for (auto *PI : IDecl->all_referenced_protocols())
1841 static bool SuperClassImplementsProperty(ObjCInterfaceDecl *IDecl,
1848 while (IDecl->getSuperClass()) {
1849 ObjCInterfaceDecl *SDecl = IDecl->getSuperClass();
1857 IDecl = IDecl->getSuperClass();
1865 ObjCInterfaceDecl *IDecl,
1869 IDecl->collectPropertiesToImplement(PropMap);
1873 CollectSuperClassPropertyImplementations(IDecl, SuperPropMap);
1911 if (!SuperClassImplementsProperty(IDecl, Prop) && !PropInSuperClass) {
1930 !IDecl->HasUserDeclaredSetterMethod(Prop)) {
1967 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface())
1968 if (!IDecl->isObjCRequiresPropertyDefs())
1969 DefaultSynthesizeProperties(S, IC, IDecl, AtEnd);
2013 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl);
2020 if (!IDecl)
2025 if ((IDecl = C->getClassInterface())) {
2026 IDecl->collectPropertiesToImplement(NoNeedToImplPropMap);
2029 if (IDecl)
2030 CollectSuperClassPropertyImplementations(IDecl, NoNeedToImplPropMap);
2039 if (IDecl) {
2042 for (auto *PDecl : IDecl->all_referenced_protocols()) {
2143 ObjCInterfaceDecl *IDecl) {
2148 for (auto *Prop : IDecl->properties())
2150 for (const auto *Ext : IDecl->known_extensions())