Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaObjCProperty.cpp2393 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CD)) in ProcessPropertyDecl() local
2394 if (CatDecl->IsClassExtension()) in ProcessPropertyDecl()
2395 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl()
2397 CatDecl->getClassInterface()-> in ProcessPropertyDecl()
2404 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CD)) in ProcessPropertyDecl() local
2405 if (CatDecl->IsClassExtension()) in ProcessPropertyDecl()
2406 SetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl()
2408 CatDecl->getClassInterface()-> in ProcessPropertyDecl()
2416 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CD)) { in ProcessPropertyDecl() local
2417 auto *ExistingGetter = CatDecl->getClassInterface()->lookupMethod( in ProcessPropertyDecl()
[all …]
H A DSemaDeclObjC.cpp2930 ObjCCategoryDecl *CatDecl = CatIMPDecl->getCategoryDecl(); in CheckCategoryVsClassMethodMatches() local
2931 if (!CatDecl) in CheckCategoryVsClassMethodMatches()
2933 ObjCInterfaceDecl *IDecl = CatDecl->getClassInterface(); in CheckCategoryVsClassMethodMatches()
3015 if (ObjCCategoryImplDecl *CatDecl = in ImplMethodsVsClassMethods() local
3017 CheckCategoryVsClassMethodMatches(CatDecl); in ImplMethodsVsClassMethods()
H A DSemaCodeComplete.cpp6996 for (ObjCCategoryDecl *CatDecl : IFace->known_categories()) { in AddObjCMethods()
6997 AddObjCMethods(CatDecl, WantInstanceMethods, WantKind, SelIdents, in AddObjCMethods()
7003 CatDecl->getReferencedProtocols(); in AddObjCMethods()
7011 if (ObjCCategoryImplDecl *Impl = CatDecl->getImplementation()) in AddObjCMethods()
H A DSemaDeclAttr.cpp5582 if (auto *CatDecl = dyn_cast<ObjCCategoryDecl>(Ctx)) in handleObjCDesignatedInitializer() local
5583 IFace = CatDecl->getClassInterface(); in handleObjCDesignatedInitializer()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp812 auto *CatDecl = dyn_cast<ObjCCategoryDecl>(PropDecl->getDeclContext()); in findShadowedPropertyDecl() local
815 if (!CatDecl || !CatDecl->IsClassExtension()) in findShadowedPropertyDecl()
819 DeclContext::lookup_result R = CatDecl->getClassInterface()->lookup(ID); in findShadowedPropertyDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DObjCMT.cpp567 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(D)) { in IsCategoryNameWithDeprecatedSuffix() local
568 StringRef Name = CatDecl->getName(); in IsCategoryNameWithDeprecatedSuffix()
1034 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateMethodInstanceType() local
1035 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType()
1305 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateFactoryMethod() local
1306 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod()
1857 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(*D)) { in HandleTranslationUnit() local
1858 if (canModify(CatDecl)) in HandleTranslationUnit()
1859 migrateObjCContainerDecl(Ctx, CatDecl); in HandleTranslationUnit()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclObjC.cpp2052 auto *CatDecl = in Create() local
2058 CatDecl->NextClassCategory = IDecl->getCategoryListRaw(); in Create()
2060 IDecl->setCategoryListRaw(CatDecl); in Create()
2062 L->AddedObjCCategoryToInterface(CatDecl, IDecl); in Create()
2066 return CatDecl; in Create()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp862 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in getIvarAccessString() local
863 CDecl = CatDecl->getClassInterface(); in getIvarAccessString()
1129 void RewriteModernObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl() argument
1130 SourceLocation LocStart = CatDecl->getBeginLoc(); in RewriteCategoryDecl()
1133 if (CatDecl->getIvarRBraceLoc().isValid()) { in RewriteCategoryDecl()
1135 ReplaceText(CatDecl->getIvarRBraceLoc(), 1, "**/ "); in RewriteCategoryDecl()
1141 for (auto *I : CatDecl->instance_properties()) in RewriteCategoryDecl()
1144 for (auto *I : CatDecl->instance_methods()) in RewriteCategoryDecl()
1146 for (auto *I : CatDecl->class_methods()) in RewriteCategoryDecl()
1150 ReplaceText(CatDecl->getAtEndRange().getBegin(), in RewriteCategoryDecl()
[all …]
H A DRewriteObjC.cpp970 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGObjCGNU.cpp3260 const ObjCCategoryDecl *CatDecl = OCD->getCategoryDecl(); in GenerateCategory() local
3282 Elements.addBitCast(GenerateCategoryProtocolList(CatDecl), PtrTy); in GenerateCategory()