Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/ARCMigrate/
DTransforms.h29 class MigrationContext; variable
46 MigrationContext &MigrateCtx;
51 BodyContext(MigrationContext &MigrateCtx, Stmt *S) in BodyContext()
54 MigrationContext &getMigrationContext() { return MigrateCtx; } in getMigrationContext()
60 MigrationContext &MigrateCtx;
64 ObjCImplementationContext(MigrationContext &MigrateCtx, in ObjCImplementationContext()
68 MigrationContext &getMigrationContext() { return MigrateCtx; } in getMigrationContext()
75 virtual void traverseTU(MigrationContext &MigrateCtx) { } in traverseTU()
80 class MigrationContext {
103 explicit MigrationContext(MigrationPass &pass) : Pass(pass) {} in MigrationContext() function
[all …]
DTransGCAttrs.cpp27 MigrationContext &MigrateCtx;
33 GCAttrsCollector(MigrationContext &ctx, in GCAttrsCollector()
100 MigrationContext::GCAttrOccurrence::AttrKind Kind; in handleAttr()
102 Kind = MigrationContext::GCAttrOccurrence::Strong; in handleAttr()
104 Kind = MigrationContext::GCAttrOccurrence::Weak; in handleAttr()
109 MigrateCtx.GCAttrs.push_back(MigrationContext::GCAttrOccurrence()); in handleAttr()
110 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs.back(); in handleAttr()
179 static void errorForGCAttrsOnNonObjC(MigrationContext &MigrateCtx) { in errorForGCAttrsOnNonObjC()
183 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs[i]; in errorForGCAttrsOnNonObjC()
195 static void checkWeakGCAttrs(MigrationContext &MigrateCtx) { in checkWeakGCAttrs()
[all …]
DTransforms.cpp320 MigrationContext &MigrateCtx;
324 ASTTransform(MigrationContext &MigrateCtx) : MigrateCtx(MigrateCtx) { } in ASTTransform()
330 for (MigrationContext::traverser_iterator in TraverseObjCImplementationDecl()
343 for (MigrationContext::traverser_iterator in TraverseStmt()
354 MigrationContext::~MigrationContext() { in ~MigrationContext()
360 bool MigrationContext::isGCOwnedNonObjC(QualType T) { in isGCOwnedNonObjC()
380 bool MigrationContext::rewritePropertyAttribute(StringRef fromAttr, in rewritePropertyAttribute()
462 bool MigrationContext::addPropertyAttribute(StringRef attr, in addPropertyAttribute()
510 void MigrationContext::traverse(TranslationUnitDecl *TU) { in traverse()
559 MigrationContext MigrateCtx(pass); in traverseAST()
DTransGCCalls.cpp22 MigrationContext &MigrateCtx;
27 GCCollectableCallsChecker(MigrationContext &ctx) in GCCollectableCallsChecker()
DTransProperties.cpp46 MigrationContext &MigrateCtx;
73 explicit PropertiesRewriter(MigrationContext &MigrateCtx) in PropertiesRewriter()
/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()