Home
last modified time | relevance | path

Searched refs:CatDecl (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/AST/
DDeclObjC.cpp969 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(Container)) in findPropertyDecl() local
970 if (CatDecl->IsClassExtension()) in findPropertyDecl()
971 Container = CatDecl->getClassInterface(); in findPropertyDecl()
1484 ObjCCategoryDecl *CatDecl = new (C) ObjCCategoryDecl(DC, AtLoc, ClassNameLoc, in Create() local
1490 CatDecl->NextClassCategory = IDecl->getCategoryListRaw(); in Create()
1492 IDecl->setCategoryListRaw(CatDecl); in Create()
1494 L->AddedObjCCategoryToInterface(CatDecl, IDecl); in Create()
1498 return CatDecl; in Create()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp861 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in getIvarAccessString() local
862 CDecl = CatDecl->getClassInterface(); in getIvarAccessString()
1125 void RewriteModernObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl() argument
1126 SourceLocation LocStart = CatDecl->getLocStart(); in RewriteCategoryDecl()
1129 if (CatDecl->getIvarRBraceLoc().isValid()) { in RewriteCategoryDecl()
1131 ReplaceText(CatDecl->getIvarRBraceLoc(), 1, "**/ "); in RewriteCategoryDecl()
1137 for (ObjCCategoryDecl::prop_iterator I = CatDecl->prop_begin(), in RewriteCategoryDecl()
1138 E = CatDecl->prop_end(); I != E; ++I) in RewriteCategoryDecl()
1142 I = CatDecl->instmeth_begin(), E = CatDecl->instmeth_end(); in RewriteCategoryDecl()
1146 I = CatDecl->classmeth_begin(), E = CatDecl->classmeth_end(); in RewriteCategoryDecl()
[all …]
DRewriteObjC.cpp967 void RewriteObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl() argument
968 SourceLocation LocStart = CatDecl->getLocStart(); in RewriteCategoryDecl()
973 for (ObjCCategoryDecl::prop_iterator I = CatDecl->prop_begin(), in RewriteCategoryDecl()
974 E = CatDecl->prop_end(); I != E; ++I) in RewriteCategoryDecl()
978 I = CatDecl->instmeth_begin(), E = CatDecl->instmeth_end(); in RewriteCategoryDecl()
982 I = CatDecl->classmeth_begin(), E = CatDecl->classmeth_end(); in RewriteCategoryDecl()
987 ReplaceText(CatDecl->getAtEndRange().getBegin(), in RewriteCategoryDecl()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp1386 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) { in MatchOneProtocolPropertiesInClass() local
1389 assert (CatDecl && "MatchOneProtocolPropertiesInClass"); in MatchOneProtocolPropertiesInClass()
1390 if (!CatDecl->IsClassExtension()) in MatchOneProtocolPropertiesInClass()
1395 = CatDecl->lookup(ProtoProp->getDeclName()); in MatchOneProtocolPropertiesInClass()
DSemaDeclObjC.cpp1798 ObjCCategoryDecl *CatDecl = CatIMPDecl->getCategoryDecl(); in CheckCategoryVsClassMethodMatches() local
1799 if (!CatDecl) in CheckCategoryVsClassMethodMatches()
1801 ObjCInterfaceDecl *IDecl = CatDecl->getClassInterface(); in CheckCategoryVsClassMethodMatches()
1846 if (ObjCCategoryImplDecl *CatDecl = in ImplMethodsVsClassMethods() local
1848 CheckCategoryVsClassMethodMatches(CatDecl); in ImplMethodsVsClassMethods()
DSemaCodeComplete.cpp4891 ObjCCategoryDecl *CatDecl = *Cat; in AddObjCMethods() local
4893 AddObjCMethods(CatDecl, WantInstanceMethods, WantKind, SelIdents, in AddObjCMethods()
4899 = CatDecl->getReferencedProtocols(); in AddObjCMethods()
4908 if (ObjCCategoryImplDecl *Impl = CatDecl->getImplementation()) in AddObjCMethods()
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp2035 const ObjCCategoryDecl *CatDecl = OCD->getCategoryDecl(); in GenerateCategory() local
2036 const ObjCList<ObjCProtocolDecl> &Protos = CatDecl->getReferencedProtocols(); in GenerateCategory()