Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDeclObjC.cpp758 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local
759 if (PrevMethod && !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods()
762 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods()
2275 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local
2276 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd()
2278 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd()
2282 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
2285 if (PrevMethod) { in ActOnAtEnd()
2286 Method->setAsRedeclaration(PrevMethod); in ActOnAtEnd()
2291 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd()
[all …]
/external/clang/lib/AST/
DDeclObjC.cpp437 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument
438 assert(PrevMethod); in setAsRedeclaration()
439 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration()
441 PrevMethod->HasRedeclaration = true; in setAsRedeclaration()
/external/clang/include/clang/AST/
DDeclObjC.h291 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
/external/clang/include/clang/Sema/
DSema.h2349 const ObjCMethodDecl *PrevMethod,