Searched refs:CatDecl (Results 1 – 11 of 11) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckObjCDealloc.cpp | 816 auto *CatDecl = dyn_cast<ObjCCategoryDecl>(PropDecl->getDeclContext()); in findShadowedPropertyDecl() local 819 if (!CatDecl || !CatDecl->IsClassExtension()) in findShadowedPropertyDecl() 823 DeclContext::lookup_result R = CatDecl->getClassInterface()->lookup(ID); in findShadowedPropertyDecl()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 564 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(D)) { in IsCategoryNameWithDeprecatedSuffix() local 565 StringRef Name = CatDecl->getName(); in IsCategoryNameWithDeprecatedSuffix() 1043 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateMethodInstanceType() local 1044 IDecl = CatDecl->getClassInterface(); in migrateMethodInstanceType() 1314 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateFactoryMethod() local 1315 IDecl = CatDecl->getClassInterface(); in migrateFactoryMethod() 1860 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(*D)) { in HandleTranslationUnit() local 1861 if (canModify(CatDecl)) in HandleTranslationUnit() 1862 migrateObjCContainerDecl(Ctx, CatDecl); in HandleTranslationUnit()
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 2158 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CD)) in ProcessPropertyDecl() local 2159 if (CatDecl->IsClassExtension()) in ProcessPropertyDecl() 2160 GetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl() 2162 CatDecl->getClassInterface()-> in ProcessPropertyDecl() 2169 if (const ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CD)) in ProcessPropertyDecl() local 2170 if (CatDecl->IsClassExtension()) in ProcessPropertyDecl() 2171 SetterMethod = IsClassProperty ? CatDecl->getClassInterface()-> in ProcessPropertyDecl() 2173 CatDecl->getClassInterface()-> in ProcessPropertyDecl()
|
D | SemaDeclObjC.cpp | 2831 ObjCCategoryDecl *CatDecl = CatIMPDecl->getCategoryDecl(); in CheckCategoryVsClassMethodMatches() local 2832 if (!CatDecl) in CheckCategoryVsClassMethodMatches() 2834 ObjCInterfaceDecl *IDecl = CatDecl->getClassInterface(); in CheckCategoryVsClassMethodMatches() 2916 if (ObjCCategoryImplDecl *CatDecl = in ImplMethodsVsClassMethods() local 2918 CheckCategoryVsClassMethodMatches(CatDecl); in ImplMethodsVsClassMethods()
|
D | SemaCodeComplete.cpp | 5091 for (auto *CatDecl : IFace->known_categories()) { in AddObjCMethods() local 5092 AddObjCMethods(CatDecl, WantInstanceMethods, WantKind, SelIdents, in AddObjCMethods() 5098 = CatDecl->getReferencedProtocols(); in AddObjCMethods() 5107 if (ObjCCategoryImplDecl *Impl = CatDecl->getImplementation()) in AddObjCMethods()
|
D | SemaDeclAttr.cpp | 4500 if (ObjCCategoryDecl *CatDecl = in handleObjCDesignatedInitializer() local 4502 IFace = CatDecl->getClassInterface(); in handleObjCDesignatedInitializer()
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 1930 ObjCCategoryDecl *CatDecl = in Create() local 1936 CatDecl->NextClassCategory = IDecl->getCategoryListRaw(); in Create() 1938 IDecl->setCategoryListRaw(CatDecl); in Create() 1940 L->AddedObjCCategoryToInterface(CatDecl, IDecl); in Create() 1944 return CatDecl; in Create()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 859 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in getIvarAccessString() local 860 CDecl = CatDecl->getClassInterface(); in getIvarAccessString() 1127 void RewriteModernObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl() argument 1128 SourceLocation LocStart = CatDecl->getLocStart(); in RewriteCategoryDecl() 1131 if (CatDecl->getIvarRBraceLoc().isValid()) { in RewriteCategoryDecl() 1133 ReplaceText(CatDecl->getIvarRBraceLoc(), 1, "**/ "); in RewriteCategoryDecl() 1139 for (auto *I : CatDecl->instance_properties()) in RewriteCategoryDecl() 1142 for (auto *I : CatDecl->instance_methods()) in RewriteCategoryDecl() 1144 for (auto *I : CatDecl->class_methods()) in RewriteCategoryDecl() 1148 ReplaceText(CatDecl->getAtEndRange().getBegin(), in RewriteCategoryDecl() [all …]
|
D | RewriteObjC.cpp | 966 void RewriteObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl() argument 967 SourceLocation LocStart = CatDecl->getLocStart(); in RewriteCategoryDecl() 972 for (auto *I : CatDecl->instance_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()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 975 for (auto *CatDecl : ID->visible_extensions()) { in getRuntimeDefinition() local 976 Val = CatDecl->getMethod(Sel, in getRuntimeDefinition()
|
/external/clang/lib/CodeGen/ |
D | CGObjCGNU.cpp | 2065 const ObjCCategoryDecl *CatDecl = OCD->getCategoryDecl(); in GenerateCategory() local 2066 const ObjCList<ObjCProtocolDecl> &Protos = CatDecl->getReferencedProtocols(); in GenerateCategory()
|