Searched refs:PrevMethod (Results 1 – 4 of 4) sorted by relevance
841 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local842 if (PrevMethod && in DiagnoseClassExtensionDupMethods()843 (PrevMethod->isInstanceMethod() == Method->isInstanceMethod()) && in DiagnoseClassExtensionDupMethods()844 !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()847 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()2628 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local2629 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()2631 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()2635 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()2638 if (PrevMethod) { in ActOnAtEnd()[all …]
679 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument680 assert(PrevMethod); in setAsRedeclaration()681 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration()683 PrevMethod->HasRedeclaration = true; in setAsRedeclaration()
283 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
2879 const ObjCMethodDecl *PrevMethod,