Lines Matching defs:IDecl
435 ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface();
436 if (IDecl &&
437 IDecl->lookupNestedProtocol(&Context.Idents.get("NSCopying")))
601 const ObjCInterfaceDecl *IDecl,
612 DeclContext::lookup_result R = IDecl->lookup(Property->getDeclName());
660 static bool rewriteToObjCInterfaceDecl(const ObjCInterfaceDecl *IDecl,
663 const ObjCList<ObjCProtocolDecl> &Protocols = IDecl->getReferencedProtocols();
666 IDecl->getSuperClass() ? IDecl->getSuperClassLoc() : IDecl->getLocation();
684 ObjCInterfaceDecl::protocol_loc_iterator PL = IDecl->protocol_loc_end() - 1;
831 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface();
832 if (!IDecl || ObjCProtocolDecls.empty() || IDecl->isDeprecated())
837 Ctx.CollectInheritedProtocols(IDecl, ExplicitProtocols);
852 if (ClassImplementsAllMethodsAndProperties(Ctx, ImpDecl, IDecl,
881 rewriteToObjCInterfaceDecl(IDecl, MinimalConformingProtocols,
978 ObjCInterfaceDecl *IDecl = OM->getClassInterface();
984 ClassString = std::string(IDecl->getName());
991 ClassString += IDecl->getName(); ClassString += "*)";
1029 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl);
1030 if (!IDecl) {
1032 IDecl = CatDecl->getClassInterface();
1034 IDecl = ImpDecl->getClassInterface();
1036 if (!IDecl ||
1037 !IDecl->lookupInheritedClass(&Ctx.Idents.get(ClassName))) {
1300 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl);
1301 if (!IDecl) {
1303 IDecl = CatDecl->getClassInterface();
1305 IDecl = ImpDecl->getClassInterface();
1307 if (!IDecl)
1310 std::string StringClassName = std::string(IDecl->getName());