Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclObjC.cpp1761 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local
1762 if (PrevMethod && in DiagnoseClassExtensionDupMethods()
1763 (PrevMethod->isInstanceMethod() == Method->isInstanceMethod()) && in DiagnoseClassExtensionDupMethods()
1764 !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()
1767 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()
4006 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local
4007 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()
4009 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()
4013 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
4016 if (PrevMethod) { in ActOnAtEnd()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclObjC.cpp862 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument
863 assert(PrevMethod); in setAsRedeclaration()
864 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration()
866 PrevMethod->setHasRedeclaration(true); in setAsRedeclaration()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclObjC.h271 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h4438 const ObjCMethodDecl *PrevMethod,