Lines Matching refs:ObjCCategoryDecl
130 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(DC))
383 else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(ContDeclOfMethodDecl))
758 void Sema::DiagnoseClassExtensionDupMethods(ObjCCategoryDecl *CAT,
772 for (ObjCCategoryDecl::method_iterator i = CAT->meth_begin(),
824 ObjCCategoryDecl *CDecl;
833 // Create an invalid ObjCCategoryDecl to serve as context for
836 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc,
854 if (ObjCCategoryDecl *Previous
863 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc,
889 ObjCCategoryDecl *CatIDecl = 0;
895 CatIDecl = ObjCCategoryDecl::Create(Context, CurContext, AtCatImplLoc,
1570 ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(CDecl);
1798 ObjCCategoryDecl *CatDecl = CatIMPDecl->getCategoryDecl();
1868 } else if (ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(CDecl)) {
1872 for (ObjCCategoryDecl::protocol_iterator PI = C->protocol_begin(),
2295 if (dyn_cast<ObjCCategoryDecl>(CurContext)->IsClassExtension())
2325 isa<ObjCInterfaceDecl>(ClassDecl) || isa<ObjCCategoryDecl>(ClassDecl)
2389 } else if (ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(ClassDecl)) {
2492 if (ObjCCategoryDecl *Cat
2662 if (ObjCCategoryDecl *Category = dyn_cast<ObjCCategoryDecl>(container)) {
2701 void searchFrom(ObjCCategoryDecl *category) {
2712 if (ObjCCategoryDecl *category = impl->getCategoryDecl()) {
3017 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(ClassDecl))