Lines Matching refs:CDecl
57 void migrateAllMethodInstaceType(ASTContext &Ctx, ObjCContainerDecl *CDecl);
58 void migrateMethodInstanceType(ASTContext &Ctx, ObjCContainerDecl *CDecl,
63 void migrateFactoryMethod(ASTContext &Ctx, ObjCContainerDecl *CDecl,
78 void migrateARCSafeAnnotation(ASTContext &Ctx, ObjCContainerDecl *CDecl);
1011 ObjCContainerDecl *CDecl, in migrateMethodInstanceType() argument
1019 migrateFactoryMethod(Ctx, CDecl, OM); in migrateMethodInstanceType()
1028 migrateFactoryMethod(Ctx, CDecl, OM, OIT_Singleton); in migrateMethodInstanceType()
1035 migrateFactoryMethod(Ctx, CDecl, OM, OIT_ReturnsSelf); in migrateMethodInstanceType()
1041 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); in migrateMethodInstanceType()
1043 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateMethodInstanceType()
1045 else if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(CDecl)) in migrateMethodInstanceType()
1050 migrateFactoryMethod(Ctx, CDecl, OM); in migrateMethodInstanceType()
1289 ObjCContainerDecl *CDecl) { in migrateAllMethodInstaceType() argument
1290 if (CDecl->isDeprecated() || IsCategoryNameWithDeprecatedSuffix(CDecl)) in migrateAllMethodInstaceType()
1294 for (auto *Method : CDecl->methods()) { in migrateAllMethodInstaceType()
1297 migrateMethodInstanceType(Ctx, CDecl, Method); in migrateAllMethodInstaceType()
1302 ObjCContainerDecl *CDecl, in migrateFactoryMethod() argument
1312 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); in migrateFactoryMethod()
1314 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateFactoryMethod()
1316 else if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(CDecl)) in migrateFactoryMethod()
1570 ObjCContainerDecl *CDecl) { in migrateARCSafeAnnotation() argument
1571 if (!isa<ObjCInterfaceDecl>(CDecl) || CDecl->isDeprecated()) in migrateARCSafeAnnotation()
1575 for (const auto *Method : CDecl->methods()) in migrateARCSafeAnnotation()
1857 if (ObjCInterfaceDecl *CDecl = dyn_cast<ObjCInterfaceDecl>(*D)) in HandleTranslationUnit() local
1858 if (canModify(CDecl)) in HandleTranslationUnit()
1859 migrateObjCContainerDecl(Ctx, CDecl); in HandleTranslationUnit()
1920 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(*D)) { in HandleTranslationUnit() local
1921 bool CanModify = canModify(CDecl); in HandleTranslationUnit()
1925 migrateAllMethodInstaceType(Ctx, CDecl); in HandleTranslationUnit()
1929 migrateARCSafeAnnotation(Ctx, CDecl); in HandleTranslationUnit()