Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDeclObjC.cpp1662 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local
1663 if (PrevMethod && in DiagnoseClassExtensionDupMethods()
1664 (PrevMethod->isInstanceMethod() == Method->isInstanceMethod()) && in DiagnoseClassExtensionDupMethods()
1665 !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()
1668 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()
3576 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local
3577 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()
3579 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()
3583 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
3586 if (PrevMethod) { in ActOnAtEnd()
[all …]
/external/clang/lib/AST/
DDeclObjC.cpp760 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument
761 assert(PrevMethod); in setAsRedeclaration()
762 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration()
764 PrevMethod->HasRedeclaration = true; in setAsRedeclaration()
/external/clang/include/clang/AST/
DDeclObjC.h283 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
/external/clang/include/clang/Sema/
DSema.h3108 const ObjCMethodDecl *PrevMethod,