Searched refs:PrevMethod (Results 1 – 4 of 4) sorted by relevance
1670 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local1671 if (PrevMethod && in DiagnoseClassExtensionDupMethods()1672 (PrevMethod->isInstanceMethod() == Method->isInstanceMethod()) && in DiagnoseClassExtensionDupMethods()1673 !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()1676 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()3724 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local3725 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()3727 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()3731 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()3734 if (PrevMethod) { in ActOnAtEnd()[all …]
788 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument789 assert(PrevMethod); in setAsRedeclaration()790 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration()792 PrevMethod->HasRedeclaration = true; in setAsRedeclaration()
283 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
3182 const ObjCMethodDecl *PrevMethod,