Searched refs:PrevMethod (Results 1 – 4 of 4) sorted by relevance
801 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local802 if (PrevMethod && !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()805 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()2522 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local2523 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()2525 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()2529 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()2532 if (PrevMethod) { in ActOnAtEnd()2533 Method->setAsRedeclaration(PrevMethod); in ActOnAtEnd()2538 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()[all …]
584 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument585 assert(PrevMethod); in setAsRedeclaration()586 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration()588 PrevMethod->HasRedeclaration = true; in setAsRedeclaration()
293 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
2643 const ObjCMethodDecl *PrevMethod,