Lines Matching refs:ObjCCategoryDecl
176 const ObjCCategoryDecl *OCD = cast<ObjCCategoryDecl>(this);
179 for (ObjCCategoryDecl::protocol_iterator
562 } else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(CtxD)) {
573 if (ObjCCategoryDecl *CatD = CImplD->getCategoryDecl())
597 if (ObjCCategoryDecl *CatD = CImplD->getCategoryDecl())
765 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(getDeclContext()))
784 if (const ObjCCategoryDecl *
785 Category = dyn_cast<ObjCCategoryDecl>(Container)) {
799 for (ObjCCategoryDecl::protocol_iterator P = Category->protocol_begin(),
872 } else if (const ObjCCategoryDecl *
873 CatD = dyn_cast<ObjCCategoryDecl>(Method->getDeclContext())) {
969 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(Container))
1121 ObjCCategoryDecl::ivar_iterator
1178 ObjCCategoryDecl *
1257 for (ObjCCategoryDecl::protocol_iterator PI = Cat->protocol_begin(),
1291 // (isa<ObjCCategoryDecl>(DC) &&
1292 // cast<ObjCCategoryDecl>(DC)->IsClassExtension()))
1297 isa<ObjCCategoryDecl>(DC)) &&
1306 ID = cast<ObjCCategoryDecl>(DC)->getClassInterface();
1332 const ObjCCategoryDecl *CD = cast<ObjCCategoryDecl>(DC);
1471 // ObjCCategoryDecl
1474 void ObjCCategoryDecl::anchor() { }
1476 ObjCCategoryDecl *ObjCCategoryDecl::Create(ASTContext &C, DeclContext *DC,
1484 ObjCCategoryDecl *CatDecl = new (C) ObjCCategoryDecl(DC, AtLoc, ClassNameLoc,
1501 ObjCCategoryDecl *ObjCCategoryDecl::CreateDeserialized(ASTContext &C,
1503 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCCategoryDecl));
1504 return new (Mem) ObjCCategoryDecl(0, SourceLocation(), SourceLocation(),
1508 ObjCCategoryImplDecl *ObjCCategoryDecl::getImplementation() const {
1510 const_cast<ObjCCategoryDecl*>(this));
1513 void ObjCCategoryDecl::setImplementation(ObjCCategoryImplDecl *ImplD) {
1544 ObjCCategoryDecl *ObjCCategoryImplDecl::getCategoryDecl() const {
1570 if (ObjCCategoryDecl *CD = IFace->FindCategoryDeclaration(getIdentifier()))