Searched refs:PrevMethod (Results 1 – 4 of 4) sorted by relevance
845 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local846 if (PrevMethod && in DiagnoseClassExtensionDupMethods()847 (PrevMethod->isInstanceMethod() == Method->isInstanceMethod()) && in DiagnoseClassExtensionDupMethods()848 !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()851 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()2572 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local2573 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()2575 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()2579 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()2582 if (PrevMethod) { in ActOnAtEnd()[all …]
677 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument678 assert(PrevMethod); in setAsRedeclaration()679 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration()681 PrevMethod->HasRedeclaration = true; in setAsRedeclaration()
283 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
2837 const ObjCMethodDecl *PrevMethod,