Searched refs:MigrationContext (Results 1 – 5 of 5) sorted by relevance
30 class MigrationContext; variable47 MigrationContext &MigrateCtx;52 BodyContext(MigrationContext &MigrateCtx, Stmt *S) in BodyContext()55 MigrationContext &getMigrationContext() { return MigrateCtx; } in getMigrationContext()61 MigrationContext &MigrateCtx;65 ObjCImplementationContext(MigrationContext &MigrateCtx, in ObjCImplementationContext()69 MigrationContext &getMigrationContext() { return MigrateCtx; } in getMigrationContext()76 virtual void traverseTU(MigrationContext &MigrateCtx) { } in traverseTU()81 class MigrationContext {104 explicit MigrationContext(MigrationPass &pass) : Pass(pass) {} in MigrationContext() function[all …]
28 MigrationContext &MigrateCtx;34 GCAttrsCollector(MigrationContext &ctx, in GCAttrsCollector()103 MigrationContext::GCAttrOccurrence::AttrKind Kind; in handleAttr()105 Kind = MigrationContext::GCAttrOccurrence::Strong; in handleAttr()107 Kind = MigrationContext::GCAttrOccurrence::Weak; in handleAttr()112 MigrateCtx.GCAttrs.push_back(MigrationContext::GCAttrOccurrence()); in handleAttr()113 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs.back(); in handleAttr()184 static void errorForGCAttrsOnNonObjC(MigrationContext &MigrateCtx) { in errorForGCAttrsOnNonObjC()188 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs[i]; in errorForGCAttrsOnNonObjC()200 static void checkWeakGCAttrs(MigrationContext &MigrateCtx) { in checkWeakGCAttrs()[all …]
328 MigrationContext &MigrateCtx;332 ASTTransform(MigrationContext &MigrateCtx) : MigrateCtx(MigrateCtx) { } in ASTTransform()338 for (MigrationContext::traverser_iterator in TraverseObjCImplementationDecl()351 for (MigrationContext::traverser_iterator in TraverseStmt()362 MigrationContext::~MigrationContext() { in ~MigrationContext()368 bool MigrationContext::isGCOwnedNonObjC(QualType T) { in isGCOwnedNonObjC()388 bool MigrationContext::rewritePropertyAttribute(StringRef fromAttr, in rewritePropertyAttribute()470 bool MigrationContext::addPropertyAttribute(StringRef attr, in addPropertyAttribute()518 void MigrationContext::traverse(TranslationUnitDecl *TU) { in traverse()567 MigrationContext MigrateCtx(pass); in traverseAST()
23 MigrationContext &MigrateCtx;28 GCCollectableCallsChecker(MigrationContext &ctx) in GCCollectableCallsChecker()
47 MigrationContext &MigrateCtx;74 explicit PropertiesRewriter(MigrationContext &MigrateCtx) in PropertiesRewriter()