Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
4022 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local
4023 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()
4025 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()
4029 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
4032 if (PrevMethod) { in ActOnAtEnd()
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclObjC.h270 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h4853 const ObjCMethodDecl *PrevMethod,