Searched refs:PrevMethod (Results 1 – 4 of 4) sorted by relevance
1774 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local1775 if (PrevMethod && in DiagnoseClassExtensionDupMethods()1776 (PrevMethod->isInstanceMethod() == Method->isInstanceMethod()) && in DiagnoseClassExtensionDupMethods()1777 !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()1780 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()4026 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local4027 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()4029 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()4033 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()4036 if (PrevMethod) { in ActOnAtEnd()[all …]
913 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument914 assert(PrevMethod); in setAsRedeclaration()915 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration()917 PrevMethod->setHasRedeclaration(true); in setAsRedeclaration()
454 const ObjCMethodDecl *PrevMethod,
268 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);