Lines Matching defs:IDecl
434 ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface();
435 if (IDecl &&
436 IDecl->lookupNestedProtocol(&Context.Idents.get("NSCopying")))
600 const ObjCInterfaceDecl *IDecl,
611 DeclContext::lookup_result R = IDecl->lookup(Property->getDeclName());
659 static bool rewriteToObjCInterfaceDecl(const ObjCInterfaceDecl *IDecl,
662 const ObjCList<ObjCProtocolDecl> &Protocols = IDecl->getReferencedProtocols();
665 IDecl->getSuperClass() ? IDecl->getSuperClassLoc() : IDecl->getLocation();
683 ObjCInterfaceDecl::protocol_loc_iterator PL = IDecl->protocol_loc_end() - 1;
830 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface();
831 if (!IDecl || ObjCProtocolDecls.empty() || IDecl->isDeprecated())
836 Ctx.CollectInheritedProtocols(IDecl, ExplicitProtocols);
851 if (ClassImplementsAllMethodsAndProperties(Ctx, ImpDecl, IDecl,
880 rewriteToObjCInterfaceDecl(IDecl, MinimalConformingProtocols,
977 ObjCInterfaceDecl *IDecl = OM->getClassInterface();
983 ClassString = std::string(IDecl->getName());
990 ClassString += IDecl->getName(); ClassString += "*)";
1028 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl);
1029 if (!IDecl) {
1031 IDecl = CatDecl->getClassInterface();
1033 IDecl = ImpDecl->getClassInterface();
1035 if (!IDecl ||
1036 !IDecl->lookupInheritedClass(&Ctx.Idents.get(ClassName))) {
1299 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl);
1300 if (!IDecl) {
1302 IDecl = CatDecl->getClassInterface();
1304 IDecl = ImpDecl->getClassInterface();
1306 if (!IDecl)
1309 std::string StringClassName = std::string(IDecl->getName());