Searched refs:PrevMethod (Results 1 – 4 of 4) sorted by relevance
842 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local843 if (PrevMethod && in DiagnoseClassExtensionDupMethods()844 (PrevMethod->isInstanceMethod() == Method->isInstanceMethod()) && in DiagnoseClassExtensionDupMethods()845 !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()848 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()2615 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local2616 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()2618 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()2622 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()2625 if (PrevMethod) { in ActOnAtEnd()[all …]
681 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument682 assert(PrevMethod); in setAsRedeclaration()683 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration()685 PrevMethod->HasRedeclaration = true; in setAsRedeclaration()
283 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
2938 const ObjCMethodDecl *PrevMethod,