Searched refs:CatDecl (Results 1 – 11 of 11) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckObjCDealloc.cpp | 814 auto *CatDecl = dyn_cast<ObjCCategoryDecl>(PropDecl->getDeclContext()); in findShadowedPropertyDecl() local 817 if (!CatDecl || !CatDecl->IsClassExtension()) in findShadowedPropertyDecl() 821 DeclContext::lookup_result R = CatDecl->getClassInterface()->lookup(ID); in findShadowedPropertyDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 564 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(D)) { in IsCategoryNameWithDeprecatedSuffix() local 565 StringRef Name = CatDecl->getName(); in IsCategoryNameWithDeprecatedSuffix() 1033 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateMethodInstanceType() local 1034 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType() 1304 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateFactoryMethod() local 1305 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod() 1859 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(*D)) { in HandleTranslationUnit() local 1860 if (canModify(CatDecl)) in HandleTranslationUnit() 1861 migrateObjCContainerDecl(Ctx, CatDecl); in HandleTranslationUnit()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 2329 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CD)) in ProcessPropertyDecl() local 2330 if (CatDecl->IsClassExtension()) in ProcessPropertyDecl() 2331 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl() 2333 CatDecl->getClassInterface()-> in ProcessPropertyDecl() 2340 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CD)) in ProcessPropertyDecl() local 2341 if (CatDecl->IsClassExtension()) in ProcessPropertyDecl() 2342 SetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl() 2344 CatDecl->getClassInterface()-> in ProcessPropertyDecl()
|
| H A D | SemaDeclObjC.cpp | 2902 ObjCCategoryDecl *CatDecl = CatIMPDecl->getCategoryDecl(); in CheckCategoryVsClassMethodMatches() local 2903 if (!CatDecl) in CheckCategoryVsClassMethodMatches() 2905 ObjCInterfaceDecl *IDecl = CatDecl->getClassInterface(); in CheckCategoryVsClassMethodMatches() 2987 if (ObjCCategoryImplDecl *CatDecl = in ImplMethodsVsClassMethods() local 2989 CheckCategoryVsClassMethodMatches(CatDecl); in ImplMethodsVsClassMethods()
|
| H A D | SemaCodeComplete.cpp | 5858 for (ObjCCategoryDecl *CatDecl : IFace->known_categories()) { in AddObjCMethods() 5859 AddObjCMethods(CatDecl, WantInstanceMethods, WantKind, SelIdents, in AddObjCMethods() 5865 CatDecl->getReferencedProtocols(); in AddObjCMethods() 5873 if (ObjCCategoryImplDecl *Impl = CatDecl->getImplementation()) in AddObjCMethods()
|
| H A D | SemaDeclAttr.cpp | 5131 if (auto *CatDecl = dyn_cast<ObjCCategoryDecl>(Ctx)) in handleObjCDesignatedInitializer() local 5132 IFace = CatDecl->getClassInterface(); in handleObjCDesignatedInitializer()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 1996 auto *CatDecl = in Create() local 2002 CatDecl->NextClassCategory = IDecl->getCategoryListRaw(); in Create() 2004 IDecl->setCategoryListRaw(CatDecl); in Create() 2006 L->AddedObjCCategoryToInterface(CatDecl, IDecl); in Create() 2010 return CatDecl; in Create()
|
| /freebsd-12.1/contrib/llvm/tools/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() 6623 StringRef CatName = CatDecl->getName(); in Write_category_t() 7357 Result += CatDecl->getName(); in RewriteCategorySetupInitHook() [all …]
|
| H A D | RewriteObjC.cpp | 967 void RewriteObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl() argument 968 SourceLocation LocStart = CatDecl->getBeginLoc(); in RewriteCategoryDecl() 973 for (auto *I : CatDecl->instance_properties()) in RewriteCategoryDecl() 975 for (auto *I : CatDecl->instance_methods()) in RewriteCategoryDecl() 977 for (auto *I : CatDecl->class_methods()) in RewriteCategoryDecl() 981 ReplaceText(CatDecl->getAtEndRange().getBegin(), in RewriteCategoryDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallEvent.cpp | 1282 for (auto *CatDecl : ID->visible_extensions()) { in getRuntimeDefinition() local 1283 Val = CatDecl->getMethod(Sel, in getRuntimeDefinition()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGObjCGNU.cpp | 3132 const ObjCCategoryDecl *CatDecl = OCD->getCategoryDecl(); in GenerateCategory() local 3154 Elements.addBitCast(GenerateCategoryProtocolList(CatDecl), PtrTy); in GenerateCategory()
|