Home
last modified time | relevance | path

Searched refs:MigrationContext (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/ARCMigrate/
DTransforms.h30 class MigrationContext; variable
47 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 …]
DTransGCAttrs.cpp28 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()
182 static void errorForGCAttrsOnNonObjC(MigrationContext &MigrateCtx) { in errorForGCAttrsOnNonObjC()
186 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs[i]; in errorForGCAttrsOnNonObjC()
198 static void checkWeakGCAttrs(MigrationContext &MigrateCtx) { in checkWeakGCAttrs()
[all …]
DTransforms.cpp324 MigrationContext &MigrateCtx;
328 ASTTransform(MigrationContext &MigrateCtx) : MigrateCtx(MigrateCtx) { } in ASTTransform()
334 for (MigrationContext::traverser_iterator in TraverseObjCImplementationDecl()
347 for (MigrationContext::traverser_iterator in TraverseStmt()
358 MigrationContext::~MigrationContext() { in ~MigrationContext()
364 bool MigrationContext::isGCOwnedNonObjC(QualType T) { in isGCOwnedNonObjC()
384 bool MigrationContext::rewritePropertyAttribute(StringRef fromAttr, in rewritePropertyAttribute()
466 bool MigrationContext::addPropertyAttribute(StringRef attr, in addPropertyAttribute()
514 void MigrationContext::traverse(TranslationUnitDecl *TU) { in traverse()
563 MigrationContext MigrateCtx(pass); in traverseAST()
DTransGCCalls.cpp23 MigrationContext &MigrateCtx;
28 GCCollectableCallsChecker(MigrationContext &ctx) in GCCollectableCallsChecker()
DTransProperties.cpp47 MigrationContext &MigrateCtx;
74 explicit PropertiesRewriter(MigrationContext &MigrateCtx) in PropertiesRewriter()