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.cpp1777 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local
1778 if (PrevMethod && in DiagnoseClassExtensionDupMethods()
1779 (PrevMethod->isInstanceMethod() == Method->isInstanceMethod()) && in DiagnoseClassExtensionDupMethods()
1780 !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()
1783 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()
4028 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local
4029 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()
4031 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()
4035 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
4038 if (PrevMethod) { in ActOnAtEnd()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp910 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument
911 assert(PrevMethod); in setAsRedeclaration()
912 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration()
914 PrevMethod->setHasRedeclaration(true); in setAsRedeclaration()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h446 const ObjCMethodDecl *PrevMethod,
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h268 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);