Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDeclObjC.cpp801 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local
802 if (PrevMethod && !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()
805 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()
2522 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local
2523 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()
2525 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()
2529 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
2532 if (PrevMethod) { in ActOnAtEnd()
2533 Method->setAsRedeclaration(PrevMethod); in ActOnAtEnd()
2538 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
[all …]
/external/clang/lib/AST/
DDeclObjC.cpp584 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument
585 assert(PrevMethod); in setAsRedeclaration()
586 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration()
588 PrevMethod->HasRedeclaration = true; in setAsRedeclaration()
/external/clang/include/clang/AST/
DDeclObjC.h293 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
/external/clang/include/clang/Sema/
DSema.h2643 const ObjCMethodDecl *PrevMethod,