Home
last modified time | relevance | path

Searched refs:PrevMethod (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp1774 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local
1775 if (PrevMethod && in DiagnoseClassExtensionDupMethods()
1776 (PrevMethod->isInstanceMethod() == Method->isInstanceMethod()) && in DiagnoseClassExtensionDupMethods()
1777 !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()
1780 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()
4026 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local
4027 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()
4029 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()
4033 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
4036 if (PrevMethod) { in ActOnAtEnd()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp913 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument
914 assert(PrevMethod); in setAsRedeclaration()
915 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration()
917 PrevMethod->setHasRedeclaration(true); in setAsRedeclaration()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h454 const ObjCMethodDecl *PrevMethod,
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h268 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);