Lines Matching refs:IDecl
231 ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface();
232 if (IDecl &&
233 IDecl->lookupNestedProtocol(&Context.Idents.get("NSCopying")))
308 const ObjCInterfaceDecl *IDecl,
321 DeclContext::lookup_const_result R = IDecl->lookup(Property->getDeclName());
374 static bool rewriteToObjCInterfaceDecl(const ObjCInterfaceDecl *IDecl,
377 const ObjCList<ObjCProtocolDecl> &Protocols = IDecl->getReferencedProtocols();
380 IDecl->getSuperClass() ? IDecl->getSuperClassLoc() : IDecl->getLocation();
398 ObjCInterfaceDecl::protocol_loc_iterator PL = IDecl->protocol_loc_end() - 1;
465 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface();
466 if (!IDecl || ObjCProtocolDecls.empty())
471 Ctx.CollectInheritedProtocols(IDecl, ExplicitProtocols);
488 if (ClassImplementsAllMethodsAndProperties(Ctx, ImpDecl, IDecl,
515 rewriteToObjCInterfaceDecl(IDecl, MinimalConformingProtocols,
612 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl);
613 if (!IDecl) {
615 IDecl = CatDecl->getClassInterface();
617 IDecl = ImpDecl->getClassInterface();
619 if (!IDecl ||
620 !IDecl->lookupInheritedClass(&Ctx.Idents.get(ClassName))) {
649 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl);
650 if (!IDecl) {
652 IDecl = CatDecl->getClassInterface();
654 IDecl = ImpDecl->getClassInterface();
656 if (!IDecl)
659 std::string StringClassName = IDecl->getName();