Searched refs:PrevMethod (Results 1 – 4 of 4) sorted by relevance
1761 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local1762 if (PrevMethod && in DiagnoseClassExtensionDupMethods()1763 (PrevMethod->isInstanceMethod() == Method->isInstanceMethod()) && in DiagnoseClassExtensionDupMethods()1764 !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()1767 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()4006 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local4007 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()4009 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()4013 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()4016 if (PrevMethod) { in ActOnAtEnd()[all …]
862 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument863 assert(PrevMethod); in setAsRedeclaration()864 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration()866 PrevMethod->setHasRedeclaration(true); in setAsRedeclaration()
271 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
4438 const ObjCMethodDecl *PrevMethod,