Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDDeclObjC.cpp1186 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(Container)) in findPropertyDecl() local
1187 if (CatDecl->IsClassExtension()) in findPropertyDecl()
1188 Container = CatDecl->getClassInterface(); in findPropertyDecl()
1840 ObjCCategoryDecl *CatDecl = in Create() local
1846 CatDecl->NextClassCategory = IDecl->getCategoryListRaw(); in Create()
1848 IDecl->setCategoryListRaw(CatDecl); in Create()
1850 L->AddedObjCCategoryToInterface(CatDecl, IDecl); in Create()
1854 return CatDecl; in Create()
/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDObjCMT.cpp574 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(D)) { in IsCategoryNameWithDeprecatedSuffix() local
575 StringRef Name = CatDecl->getName(); in IsCategoryNameWithDeprecatedSuffix()
1054 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateMethodInstanceType() local
1055 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType()
1326 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateFactoryMethod() local
1327 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod()
1874 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(*D)) { in HandleTranslationUnit() local
1875 if (canModify(CatDecl)) in HandleTranslationUnit()
1876 migrateObjCContainerDecl(Ctx, CatDecl); in HandleTranslationUnit()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
HDRewriteModernObjC.cpp870 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in getIvarAccessString() local
871 CDecl = CatDecl->getClassInterface(); in getIvarAccessString()
1138 void RewriteModernObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl() argument
1139 SourceLocation LocStart = CatDecl->getLocStart(); in RewriteCategoryDecl()
1142 if (CatDecl->getIvarRBraceLoc().isValid()) { in RewriteCategoryDecl()
1144 ReplaceText(CatDecl->getIvarRBraceLoc(), 1, "**/ "); in RewriteCategoryDecl()
1150 for (auto *I : CatDecl->properties()) in RewriteCategoryDecl()
1153 for (auto *I : CatDecl->instance_methods()) in RewriteCategoryDecl()
1155 for (auto *I : CatDecl->class_methods()) in RewriteCategoryDecl()
1159 ReplaceText(CatDecl->getAtEndRange().getBegin(), in RewriteCategoryDecl()
[all …]
HDRewriteObjC.cpp966 void RewriteObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl() argument
967 SourceLocation LocStart = CatDecl->getLocStart(); in RewriteCategoryDecl()
972 for (auto *I : CatDecl->properties()) in RewriteCategoryDecl()
974 for (auto *I : CatDecl->instance_methods()) in RewriteCategoryDecl()
976 for (auto *I : CatDecl->class_methods()) in RewriteCategoryDecl()
980 ReplaceText(CatDecl->getAtEndRange().getBegin(), in RewriteCategoryDecl()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaDeclObjC.cpp2783 ObjCCategoryDecl *CatDecl = CatIMPDecl->getCategoryDecl(); in CheckCategoryVsClassMethodMatches() local
2784 if (!CatDecl) in CheckCategoryVsClassMethodMatches()
2786 ObjCInterfaceDecl *IDecl = CatDecl->getClassInterface(); in CheckCategoryVsClassMethodMatches()
2854 if (ObjCCategoryImplDecl *CatDecl = in ImplMethodsVsClassMethods() local
2856 CheckCategoryVsClassMethodMatches(CatDecl); in ImplMethodsVsClassMethods()
HDSemaCodeComplete.cpp5070 for (auto *CatDecl : IFace->known_categories()) { in AddObjCMethods() local
5071 AddObjCMethods(CatDecl, WantInstanceMethods, WantKind, SelIdents, in AddObjCMethods()
5077 = CatDecl->getReferencedProtocols(); in AddObjCMethods()
5086 if (ObjCCategoryImplDecl *Impl = CatDecl->getImplementation()) in AddObjCMethods()
HDSemaDeclAttr.cpp3984 if (ObjCCategoryDecl *CatDecl = in handleObjCDesignatedInitializer() local
3986 IFace = CatDecl->getClassInterface(); in handleObjCDesignatedInitializer()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGObjCGNU.cpp2028 const ObjCCategoryDecl *CatDecl = OCD->getCategoryDecl(); in GenerateCategory() local
2029 const ObjCList<ObjCProtocolDecl> &Protos = CatDecl->getReferencedProtocols(); in GenerateCategory()