Lines Matching refs:ObjCCategoryDecl
128 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(DC)) in CheckObjCMethodOverride()
377 else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(ContDeclOfMethodDecl)) { in ActOnStartOfObjCMethodDef()
829 void Sema::DiagnoseClassExtensionDupMethods(ObjCCategoryDecl *CAT, in DiagnoseClassExtensionDupMethods()
892 ObjCCategoryDecl *CDecl; in ActOnStartCategoryInterface()
904 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface()
922 if (ObjCCategoryDecl *Previous in ActOnStartCategoryInterface()
931 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface()
957 ObjCCategoryDecl *CatIDecl = nullptr; in ActOnStartCategoryImplementation()
963 CatIDecl = ObjCCategoryDecl::Create(Context, CurContext, AtCatImplLoc, in ActOnStartCategoryImplementation()
1681 ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(CDecl); in CheckProtocolMethodDefs()
1911 ObjCCategoryDecl *CatDecl = CatIMPDecl->getCategoryDecl(); in CheckCategoryVsClassMethodMatches()
1997 } else if (ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(CDecl)) { in ImplMethodsVsClassMethods()
2223 if (ObjCCategoryDecl *CD = in addMethodToGlobalList()
2224 dyn_cast<ObjCCategoryDecl>(Method->getDeclContext())) in addMethodToGlobalList()
2588 if (cast<ObjCCategoryDecl>(CurContext)->IsClassExtension()) in getObjCContainerKind()
2613 isa<ObjCInterfaceDecl>(ClassDecl) || isa<ObjCCategoryDecl>(ClassDecl) in ActOnAtEnd()
2677 } else if (ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnAtEnd()
2773 if (ObjCCategoryDecl *Cat in ActOnAtEnd()
2885 if (ObjCCategoryDecl *Category = dyn_cast<ObjCCategoryDecl>(container)) { in OverrideSearch()
2924 void searchFrom(ObjCCategoryDecl *category) { in searchFrom()
2935 if (ObjCCategoryDecl *category = impl->getCategoryDecl()) { in searchFrom()
3265 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(ClassDecl)) in ActOnMethodDeclaration()