Lines Matching defs:Redecl
963 ObjCMethodDecl *Redecl = nullptr;
965 Redecl = const_cast<ObjCMethodDecl*>(Ctx.getObjCMethodRedeclaration(this));
966 if (Redecl)
967 return Redecl;
975 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod());
980 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod());
985 Redecl = IFD->getMethod(getSelector(), isInstanceMethod());
990 Redecl = CatD->getMethod(getSelector(), isInstanceMethod());
997 if (Redecl && cast<Decl>(Redecl->getDeclContext())->isInvalidDecl())
998 Redecl = nullptr;
1000 if (!Redecl && isRedeclaration()) {
1007 return Redecl ? Redecl : this;