Searched refs:CatDecl (Results 1 – 9 of 9) sorted by relevance
2380 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CD)) in ProcessPropertyDecl() local2381 if (CatDecl->IsClassExtension()) in ProcessPropertyDecl()2382 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl()2384 CatDecl->getClassInterface()-> in ProcessPropertyDecl()2391 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CD)) in ProcessPropertyDecl() local2392 if (CatDecl->IsClassExtension()) in ProcessPropertyDecl()2393 SetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl()2395 CatDecl->getClassInterface()-> in ProcessPropertyDecl()2403 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CD)) { in ProcessPropertyDecl() local2404 auto *ExistingGetter = CatDecl->getClassInterface()->lookupMethod( in ProcessPropertyDecl()[all …]
2954 ObjCCategoryDecl *CatDecl = CatIMPDecl->getCategoryDecl(); in CheckCategoryVsClassMethodMatches() local2955 if (!CatDecl) in CheckCategoryVsClassMethodMatches()2957 ObjCInterfaceDecl *IDecl = CatDecl->getClassInterface(); in CheckCategoryVsClassMethodMatches()3039 if (ObjCCategoryImplDecl *CatDecl = in ImplMethodsVsClassMethods() local3041 CheckCategoryVsClassMethodMatches(CatDecl); in ImplMethodsVsClassMethods()
2090 if (auto *CatDecl = dyn_cast<ObjCCategoryDecl>(Ctx)) in handleDesignatedInitializer() local2091 IFace = CatDecl->getClassInterface(); in handleDesignatedInitializer()
7847 for (ObjCCategoryDecl *CatDecl : IFace->known_categories()) { in AddObjCMethods()7848 AddObjCMethods(CatDecl, WantInstanceMethods, WantKind, SelIdents, in AddObjCMethods()7854 CatDecl->getReferencedProtocols(); in AddObjCMethods()7862 if (ObjCCategoryImplDecl *Impl = CatDecl->getImplementation()) in AddObjCMethods()
803 auto *CatDecl = dyn_cast<ObjCCategoryDecl>(PropDecl->getDeclContext()); in findShadowedPropertyDecl() local806 if (!CatDecl || !CatDecl->IsClassExtension()) in findShadowedPropertyDecl()810 DeclContext::lookup_result R = CatDecl->getClassInterface()->lookup(ID); in findShadowedPropertyDecl()
2131 auto *CatDecl = in Create() local2137 CatDecl->NextClassCategory = IDecl->getCategoryListRaw(); in Create()2139 IDecl->setCategoryListRaw(CatDecl); in Create()2141 L->AddedObjCCategoryToInterface(CatDecl, IDecl); in Create()2145 return CatDecl; in Create()
861 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in getIvarAccessString() local862 CDecl = CatDecl->getClassInterface(); in getIvarAccessString()1128 void RewriteModernObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl() argument1129 SourceLocation LocStart = CatDecl->getBeginLoc(); in RewriteCategoryDecl()1132 if (CatDecl->getIvarRBraceLoc().isValid()) { in RewriteCategoryDecl()1134 ReplaceText(CatDecl->getIvarRBraceLoc(), 1, "**/ "); in RewriteCategoryDecl()1140 for (auto *I : CatDecl->instance_properties()) in RewriteCategoryDecl()1143 for (auto *I : CatDecl->instance_methods()) in RewriteCategoryDecl()1145 for (auto *I : CatDecl->class_methods()) in RewriteCategoryDecl()1149 ReplaceText(CatDecl->getAtEndRange().getBegin(), in RewriteCategoryDecl()[all …]
968 void RewriteObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl() argument969 SourceLocation LocStart = CatDecl->getBeginLoc(); in RewriteCategoryDecl()974 for (auto *I : CatDecl->instance_properties()) in RewriteCategoryDecl()976 for (auto *I : CatDecl->instance_methods()) in RewriteCategoryDecl()978 for (auto *I : CatDecl->class_methods()) in RewriteCategoryDecl()982 ReplaceText(CatDecl->getAtEndRange().getBegin(), in RewriteCategoryDecl()
3554 const ObjCCategoryDecl *CatDecl = OCD->getCategoryDecl(); in GenerateCategory() local3575 Elements.add(GenerateCategoryProtocolList(CatDecl)); in GenerateCategory()