Searched refs:PrevMethod (Results 1 – 8 of 8) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 1670 const ObjCMethodDecl *&PrevMethod = MethodMap[Method->getSelector()]; in DiagnoseClassExtensionDupMethods() local 1671 if (PrevMethod && in DiagnoseClassExtensionDupMethods() 1672 (PrevMethod->isInstanceMethod() == Method->isInstanceMethod()) && in DiagnoseClassExtensionDupMethods() 1673 !MatchTwoMethodDeclarations(Method, PrevMethod)) { in DiagnoseClassExtensionDupMethods() 1676 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in DiagnoseClassExtensionDupMethods() 3724 const ObjCMethodDecl *&PrevMethod = InsMap[Method->getSelector()]; in ActOnAtEnd() local 3725 bool match = PrevMethod ? MatchTwoMethodDeclarations(Method, PrevMethod) in ActOnAtEnd() 3727 if ((isInterfaceDeclKind && PrevMethod && !match) in ActOnAtEnd() 3731 Diag(PrevMethod->getLocation(), diag::note_previous_declaration); in ActOnAtEnd() 3734 if (PrevMethod) { in ActOnAtEnd() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 1761 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 …]
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 788 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument 789 assert(PrevMethod); in setAsRedeclaration() 790 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration() 792 PrevMethod->HasRedeclaration = true; in setAsRedeclaration()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclObjC.cpp | 861 void ObjCMethodDecl::setAsRedeclaration(const ObjCMethodDecl *PrevMethod) { in setAsRedeclaration() argument 862 assert(PrevMethod); in setAsRedeclaration() 863 getASTContext().setObjCMethodRedeclaration(PrevMethod, this); in setAsRedeclaration() 865 PrevMethod->setHasRedeclaration(true); in setAsRedeclaration()
|
/external/clang/include/clang/AST/ |
D | DeclObjC.h | 283 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclObjC.h | 271 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3182 const ObjCMethodDecl *PrevMethod,
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 4298 const ObjCMethodDecl *PrevMethod,
|