Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaDeclObjC.cpp842 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local
843 if (PrevMethod && in DiagnoseClassExtensionDupMethods()
844 (PrevMethod->isInstanceMethod() == Method->isInstanceMethod()) && in DiagnoseClassExtensionDupMethods()
845 !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()
848 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()
2615 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local
2616 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()
2618 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()
2622 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
2625 if (PrevMethod) { in ActOnAtEnd()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DDeclObjC.cpp681 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument
682 assert(PrevMethod); in setAsRedeclaration()
683 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration()
685 PrevMethod->HasRedeclaration = true; in setAsRedeclaration()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DDeclObjC.h283 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DSema.h2938 const ObjCMethodDecl *PrevMethod,