Searched refs:PrevMethod (Results 1 – 4 of 4) sorted by relevance
758 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local759 if (PrevMethod && !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()762 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()2275 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local2276 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()2278 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()2282 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()2285 if (PrevMethod) { in ActOnAtEnd()2286 Method->setAsRedeclaration(PrevMethod); in ActOnAtEnd()2291 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()[all …]
437 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument438 assert(PrevMethod); in setAsRedeclaration()439 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration()441 PrevMethod->HasRedeclaration = true; in setAsRedeclaration()
291 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
2349 const ObjCMethodDecl *PrevMethod,