Lines Matching refs:IDecl
437 ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface(); in PropertyMemoryAttribute() local
438 if (IDecl && in PropertyMemoryAttribute()
439 IDecl->lookupNestedProtocol(&Context.Idents.get("NSCopying"))) in PropertyMemoryAttribute()
604 const ObjCInterfaceDecl *IDecl, in ClassImplementsAllMethodsAndProperties() argument
615 DeclContext::lookup_result R = IDecl->lookup(Property->getDeclName()); in ClassImplementsAllMethodsAndProperties()
665 static bool rewriteToObjCInterfaceDecl(const ObjCInterfaceDecl *IDecl, in rewriteToObjCInterfaceDecl() argument
668 const ObjCList<ObjCProtocolDecl> &Protocols = IDecl->getReferencedProtocols(); in rewriteToObjCInterfaceDecl()
671 IDecl->getSuperClass() ? IDecl->getSuperClassLoc() : IDecl->getLocation(); in rewriteToObjCInterfaceDecl()
689 ObjCInterfaceDecl::protocol_loc_iterator PL = IDecl->protocol_loc_end() - 1; in rewriteToObjCInterfaceDecl()
836 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface(); in migrateProtocolConformance() local
837 if (!IDecl || ObjCProtocolDecls.empty() || IDecl->isDeprecated()) in migrateProtocolConformance()
842 Ctx.CollectInheritedProtocols(IDecl, ExplicitProtocols); in migrateProtocolConformance()
857 if (ClassImplementsAllMethodsAndProperties(Ctx, ImpDecl, IDecl, in migrateProtocolConformance()
886 rewriteToObjCInterfaceDecl(IDecl, MinimalConformingProtocols, in migrateProtocolConformance()
983 ObjCInterfaceDecl *IDecl = OM->getClassInterface(); in ReplaceWithClasstype() local
989 ClassString = std::string(IDecl->getName()); in ReplaceWithClasstype()
996 ClassString += IDecl->getName(); ClassString += "*)"; in ReplaceWithClasstype()
1034 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); in migrateMethodInstanceType() local
1035 if (!IDecl) { in migrateMethodInstanceType()
1037 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType()
1039 IDecl = ImpDecl->getClassInterface(); in migrateMethodInstanceType()
1041 if (!IDecl || in migrateMethodInstanceType()
1042 !IDecl->lookupInheritedClass(&Ctx.Idents.get(ClassName))) { in migrateMethodInstanceType()
1305 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); in migrateFactoryMethod() local
1306 if (!IDecl) { in migrateFactoryMethod()
1308 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod()
1310 IDecl = ImpDecl->getClassInterface(); in migrateFactoryMethod()
1312 if (!IDecl) in migrateFactoryMethod()
1315 std::string StringClassName = std::string(IDecl->getName()); in migrateFactoryMethod()