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()
186 static void errorForGCAttrsOnNonObjC(MigrationContext &MigrateCtx) { in errorForGCAttrsOnNonObjC()
190 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs[i]; in errorForGCAttrsOnNonObjC()
202 static void checkWeakGCAttrs(MigrationContext &MigrateCtx) { in checkWeakGCAttrs()
[all …]
DTransforms.cpp323 MigrationContext &MigrateCtx;
327 ASTTransform(MigrationContext &MigrateCtx) : MigrateCtx(MigrateCtx) { } in ASTTransform()
333 for (MigrationContext::traverser_iterator in TraverseObjCImplementationDecl()
346 for (MigrationContext::traverser_iterator in TraverseStmt()
357 MigrationContext::~MigrationContext() { in ~MigrationContext()
363 bool MigrationContext::isGCOwnedNonObjC(QualType T) { in isGCOwnedNonObjC()
383 bool MigrationContext::rewritePropertyAttribute(StringRef fromAttr, in rewritePropertyAttribute()
467 bool MigrationContext::addPropertyAttribute(StringRef attr, in addPropertyAttribute()
516 void MigrationContext::traverse(TranslationUnitDecl *TU) { in traverse()
568 MigrationContext MigrateCtx(pass); in traverseAST()
DTransGCCalls.cpp23 MigrationContext &MigrateCtx;
28 GCCollectableCallsChecker(MigrationContext &ctx) in GCCollectableCallsChecker()
DTransProperties.cpp47 MigrationContext &MigrateCtx;
73 explicit PropertiesRewriter(MigrationContext &MigrateCtx) in PropertiesRewriter()