Lines Matching refs:IDecl

434       ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface();  in PropertyMemoryAttribute()  local
435 if (IDecl && in PropertyMemoryAttribute()
436 IDecl->lookupNestedProtocol(&Context.Idents.get("NSCopying"))) in PropertyMemoryAttribute()
601 const ObjCInterfaceDecl *IDecl, in ClassImplementsAllMethodsAndProperties() argument
612 DeclContext::lookup_result R = IDecl->lookup(Property->getDeclName()); in ClassImplementsAllMethodsAndProperties()
662 static bool rewriteToObjCInterfaceDecl(const ObjCInterfaceDecl *IDecl, in rewriteToObjCInterfaceDecl() argument
665 const ObjCList<ObjCProtocolDecl> &Protocols = IDecl->getReferencedProtocols(); in rewriteToObjCInterfaceDecl()
668 IDecl->getSuperClass() ? IDecl->getSuperClassLoc() : IDecl->getLocation(); in rewriteToObjCInterfaceDecl()
686 ObjCInterfaceDecl::protocol_loc_iterator PL = IDecl->protocol_loc_end() - 1; in rewriteToObjCInterfaceDecl()
843 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface(); in migrateProtocolConformance() local
844 if (!IDecl || ObjCProtocolDecls.empty() || IDecl->isDeprecated()) in migrateProtocolConformance()
849 Ctx.CollectInheritedProtocols(IDecl, ExplicitProtocols); in migrateProtocolConformance()
864 if (ClassImplementsAllMethodsAndProperties(Ctx, ImpDecl, IDecl, in migrateProtocolConformance()
893 rewriteToObjCInterfaceDecl(IDecl, MinimalConformingProtocols, in migrateProtocolConformance()
990 ObjCInterfaceDecl *IDecl = OM->getClassInterface(); in ReplaceWithClasstype() local
996 ClassString = IDecl->getName(); in ReplaceWithClasstype()
1003 ClassString += IDecl->getName(); ClassString += "*)"; in ReplaceWithClasstype()
1041 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); in migrateMethodInstanceType() local
1042 if (!IDecl) { in migrateMethodInstanceType()
1044 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType()
1046 IDecl = ImpDecl->getClassInterface(); in migrateMethodInstanceType()
1048 if (!IDecl || in migrateMethodInstanceType()
1049 !IDecl->lookupInheritedClass(&Ctx.Idents.get(ClassName))) { in migrateMethodInstanceType()
1312 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); in migrateFactoryMethod() local
1313 if (!IDecl) { in migrateFactoryMethod()
1315 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod()
1317 IDecl = ImpDecl->getClassInterface(); in migrateFactoryMethod()
1319 if (!IDecl) in migrateFactoryMethod()
1322 std::string StringClassName = IDecl->getName(); in migrateFactoryMethod()