Searched refs:MigrationContext (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/clang/lib/ARCMigrate/ |
D | Transforms.h | 29 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 …]
|
D | TransGCAttrs.cpp | 27 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 …]
|
D | Transforms.cpp | 320 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()
|
D | TransGCCalls.cpp | 22 MigrationContext &MigrateCtx; 27 GCCollectableCallsChecker(MigrationContext &ctx) in GCCollectableCallsChecker()
|
D | TransProperties.cpp | 46 MigrationContext &MigrateCtx; 73 explicit PropertiesRewriter(MigrationContext &MigrateCtx) in PropertiesRewriter()
|
/external/clang/lib/ARCMigrate/ |
D | Transforms.h | 30 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 …]
|
D | TransGCAttrs.cpp | 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() 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 …]
|
D | Transforms.cpp | 324 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()
|
D | TransGCCalls.cpp | 23 MigrationContext &MigrateCtx; 28 GCCollectableCallsChecker(MigrationContext &ctx) in GCCollectableCallsChecker()
|
D | TransProperties.cpp | 47 MigrationContext &MigrateCtx; 74 explicit PropertiesRewriter(MigrationContext &MigrateCtx) in PropertiesRewriter()
|