Lines Matching defs:IDecl
398 ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface();
399 if (IDecl)
402 if (IDecl->ClassImplementsProtocol(PNSCopying, true))
592 ObjCInterfaceDecl* IDecl = 0;
598 IDecl = IC->getClassInterface();
600 // without an interface decl. So, IDecl is always non-zero.
601 assert(IDecl &&
605 property = IDecl->FindPropertyDeclaration(PropertyId);
607 Diag(PropertyLoc, diag::error_bad_property_decl) << IDecl->getDeclName();
633 IDecl = CatImplClass->getClassInterface();
634 if (!IDecl) {
639 IDecl->FindCategoryDeclaration(CatImplClass->getIdentifier());
662 // Check that this is a previously declared 'ivar' in 'IDecl' interface
664 Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared);
743 IDecl->makeDeclVisibleInContext(Ivar);
751 !declaresSameEntity(ClassDeclared, IDecl)) {
829 getterMethod->createImplicitParams(Context, IDecl);
864 setterMethod->createImplicitParams(Context, IDecl);
920 !IDecl->isObjCRequiresPropertyDefs()) {
927 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared);
930 Ivar = IDecl->lookupInstanceVariable(PropertyId, ClassDeclared);
1055 void Sema::ComparePropertiesInBaseAndSuper(ObjCInterfaceDecl *IDecl) {
1056 ObjCInterfaceDecl *SDecl = IDecl->getSuperClass();
1064 for (ObjCInterfaceDecl::prop_iterator I = IDecl->prop_begin(),
1065 E = IDecl->prop_end(); I != E; ++I) {
1080 ObjCInterfaceDecl *IDecl = dyn_cast_or_null<ObjCInterfaceDecl>(CDecl);
1081 if (!IDecl) {
1105 for (CP = IDecl->prop_begin(), CE = IDecl->prop_end(); CP != CE; ++CP)
1120 ObjCInterfaceDecl *IDecl = dyn_cast_or_null<ObjCInterfaceDecl>(CDecl);
1122 if (!IDecl) {
1150 // Match properties of class IDecl with those of protocol (*P).
1151 MatchOneProtocolPropertiesInClass(IDecl, *P);
1156 P = IDecl->all_referenced_protocol_begin(),
1157 E = IDecl->all_referenced_protocol_end(); P != E; ++P)
1158 CompareProperties(IDecl, *P);
1163 MatchOneProtocolPropertiesInClass(IDecl, *P);
1171 ObjCInterfaceDecl *IDecl) {
1177 if (IDecl->getInstanceMethod(PDecl->getSetterName()))
1183 for (ObjCCategoryDecl *Category = IDecl->getCategoryList();
1209 if (ObjCImplementationDecl *ImpDecl = IDecl->getImplementation())
1213 if (ObjCInterfaceDecl *SIDecl = IDecl->getSuperClass())
1223 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) {
1224 for (ObjCContainerDecl::prop_iterator P = IDecl->prop_begin(),
1225 E = IDecl->prop_end(); P != E; ++P) {
1231 PI = IDecl->all_referenced_protocol_begin(),
1232 E = IDecl->all_referenced_protocol_end(); PI != E; ++PI)
1273 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) {
1274 for (ObjCContainerDecl::prop_iterator P = IDecl->prop_begin(),
1275 E = IDecl->prop_end(); P != E; ++P) {
1280 PI = IDecl->all_referenced_protocol_begin(),
1281 E = IDecl->all_referenced_protocol_end(); PI != E; ++PI)
1315 if (const ObjCInterfaceDecl *IDecl =
1317 for (ObjCContainerDecl::prop_iterator P = IDecl->prop_begin(),
1318 E = IDecl->prop_end(); P != E; ++P) {
1325 PI = IDecl->all_referenced_protocol_begin(),
1326 E = IDecl->all_referenced_protocol_end(); PI != E; ++PI) {
1364 ObjCInterfaceDecl *IDecl) {
1367 CollectClassPropertyImplementations(IDecl, PropMap);
1371 CollectSuperClassPropertyImplementations(IDecl, SuperPropMap);
1419 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface())
1420 if (!IDecl->isObjCRequiresPropertyDefs())
1421 DefaultSynthesizeProperties(S, IC, IDecl);
1428 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl))
1429 CollectSuperClassPropertyImplementations(IDecl, SuperPropMap);
1483 ObjCContainerDecl* IDecl) {
1487 for (ObjCContainerDecl::prop_iterator I = IDecl->prop_begin(),
1488 E = IDecl->prop_end();