Searched refs:CatDecl (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaObjCProperty.cpp | 2388 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CD)) in ProcessPropertyDecl() local 2389 if (CatDecl->IsClassExtension()) in ProcessPropertyDecl() 2390 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl() 2392 CatDecl->getClassInterface()-> in ProcessPropertyDecl() 2399 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CD)) in ProcessPropertyDecl() local 2400 if (CatDecl->IsClassExtension()) in ProcessPropertyDecl() 2401 SetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl() 2403 CatDecl->getClassInterface()-> in ProcessPropertyDecl() 2411 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CD)) { in ProcessPropertyDecl() local 2412 auto *ExistingGetter = CatDecl->getClassInterface()->lookupMethod( in ProcessPropertyDecl() [all …]
|
H A D | SemaDeclObjC.cpp | 2944 ObjCCategoryDecl *CatDecl = CatIMPDecl->getCategoryDecl(); in CheckCategoryVsClassMethodMatches() local 2945 if (!CatDecl) in CheckCategoryVsClassMethodMatches() 2947 ObjCInterfaceDecl *IDecl = CatDecl->getClassInterface(); in CheckCategoryVsClassMethodMatches() 3029 if (ObjCCategoryImplDecl *CatDecl = in ImplMethodsVsClassMethods() local 3031 CheckCategoryVsClassMethodMatches(CatDecl); in ImplMethodsVsClassMethods()
|
H A D | SemaCodeComplete.cpp | 7627 for (ObjCCategoryDecl *CatDecl : IFace->known_categories()) { in AddObjCMethods() 7628 AddObjCMethods(CatDecl, WantInstanceMethods, WantKind, SelIdents, in AddObjCMethods() 7634 CatDecl->getReferencedProtocols(); in AddObjCMethods() 7642 if (ObjCCategoryImplDecl *Impl = CatDecl->getImplementation()) in AddObjCMethods()
|
H A D | SemaDeclAttr.cpp | 6339 if (auto *CatDecl = dyn_cast<ObjCCategoryDecl>(Ctx)) in handleObjCDesignatedInitializer() local 6340 IFace = CatDecl->getClassInterface(); in handleObjCDesignatedInitializer()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CheckObjCDealloc.cpp | 803 auto *CatDecl = dyn_cast<ObjCCategoryDecl>(PropDecl->getDeclContext()); in findShadowedPropertyDecl() local 806 if (!CatDecl || !CatDecl->IsClassExtension()) in findShadowedPropertyDecl() 810 DeclContext::lookup_result R = CatDecl->getClassInterface()->lookup(ID); in findShadowedPropertyDecl()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 563 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(D)) { in IsCategoryNameWithDeprecatedSuffix() local 564 StringRef Name = CatDecl->getName(); in IsCategoryNameWithDeprecatedSuffix() 1030 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateMethodInstanceType() local 1031 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType() 1301 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateFactoryMethod() local 1302 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod() 1850 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(*D)) { in HandleTranslationUnit() local 1851 if (canModify(CatDecl)) in HandleTranslationUnit() 1852 migrateObjCContainerDecl(Ctx, CatDecl); in HandleTranslationUnit()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclObjC.cpp | 2145 auto *CatDecl = in Create() local 2151 CatDecl->NextClassCategory = IDecl->getCategoryListRaw(); in Create() 2153 IDecl->setCategoryListRaw(CatDecl); in Create() 2155 L->AddedObjCCategoryToInterface(CatDecl, IDecl); in Create() 2159 return CatDecl; in Create()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 864 CDecl = CatDecl->getClassInterface(); in getIvarAccessString() 1131 SourceLocation LocStart = CatDecl->getBeginLoc(); in RewriteCategoryDecl() 1134 if (CatDecl->getIvarRBraceLoc().isValid()) { in RewriteCategoryDecl() 1136 ReplaceText(CatDecl->getIvarRBraceLoc(), 1, "**/ "); in RewriteCategoryDecl() 1142 for (auto *I : CatDecl->instance_properties()) in RewriteCategoryDecl() 1145 for (auto *I : CatDecl->instance_methods()) in RewriteCategoryDecl() 1147 for (auto *I : CatDecl->class_methods()) in RewriteCategoryDecl() 1151 ReplaceText(CatDecl->getAtEndRange().getBegin(), in RewriteCategoryDecl() 6619 StringRef CatName = CatDecl->getName(); in Write_category_t() 7353 Result += CatDecl->getName(); in RewriteCategorySetupInitHook() [all …]
|
H A D | RewriteObjC.cpp | 970 void RewriteObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl() argument 971 SourceLocation LocStart = CatDecl->getBeginLoc(); in RewriteCategoryDecl() 976 for (auto *I : CatDecl->instance_properties()) in RewriteCategoryDecl() 978 for (auto *I : CatDecl->instance_methods()) in RewriteCategoryDecl() 980 for (auto *I : CatDecl->class_methods()) in RewriteCategoryDecl() 984 ReplaceText(CatDecl->getAtEndRange().getBegin(), in RewriteCategoryDecl()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGObjCGNU.cpp | 3463 const ObjCCategoryDecl *CatDecl = OCD->getCategoryDecl(); in GenerateCategory() local 3484 Elements.add(GenerateCategoryProtocolList(CatDecl)); in GenerateCategory()
|