Searched refs:MigrateCtx (Results 1 – 5 of 5) sorted by relevance
/external/clang/lib/ARCMigrate/ |
D | TransGCAttrs.cpp | 28 MigrationContext &MigrateCtx; member in __anonc53dc60a0111::GCAttrsCollector 36 : MigrateCtx(ctx), FullyMigratable(false), in GCAttrsCollector() 89 if (MigrateCtx.AttrSet.count(RawLoc)) in handleAttr() 92 ASTContext &Ctx = MigrateCtx.Pass.Ctx; in handleAttr() 111 MigrateCtx.AttrSet.insert(RawLoc); in handleAttr() 112 MigrateCtx.GCAttrs.push_back(MigrationContext::GCAttrOccurrence()); in handleAttr() 113 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs.back(); in handleAttr() 177 SourceManager &SM = MigrateCtx.Pass.Ctx.getSourceManager(); in isInMainFile() 184 static void errorForGCAttrsOnNonObjC(MigrationContext &MigrateCtx) { in errorForGCAttrsOnNonObjC() argument 185 TransformActions &TA = MigrateCtx.Pass.TA; in errorForGCAttrsOnNonObjC() [all …]
|
D | Transforms.h | 47 MigrationContext &MigrateCtx; variable 52 BodyContext(MigrationContext &MigrateCtx, Stmt *S) in BodyContext() argument 53 : MigrateCtx(MigrateCtx), PMap(S), TopStmt(S) {} in BodyContext() 55 MigrationContext &getMigrationContext() { return MigrateCtx; } in getMigrationContext() 61 MigrationContext &MigrateCtx; variable 65 ObjCImplementationContext(MigrationContext &MigrateCtx, in ObjCImplementationContext() argument 67 : MigrateCtx(MigrateCtx), ImpD(D) {} in ObjCImplementationContext() 69 MigrationContext &getMigrationContext() { return MigrateCtx; } in getMigrationContext() 76 virtual void traverseTU(MigrationContext &MigrateCtx) { } in traverseTU() argument 147 void traverseTU(MigrationContext &MigrateCtx) override;
|
D | TransGCCalls.cpp | 23 MigrationContext &MigrateCtx; member in __anonaf83018b0111::GCCollectableCallsChecker 29 : MigrateCtx(ctx) { in GCCollectableCallsChecker() 30 IdentifierTable &Ids = MigrateCtx.Pass.Ctx.Idents; in GCCollectableCallsChecker() 38 TransformActions &TA = MigrateCtx.Pass.TA; in VisitCallExpr() 40 if (MigrateCtx.isGCOwnedNonObjC(E->getType())) { in VisitCallExpr()
|
D | Transforms.cpp | 328 MigrationContext &MigrateCtx; member in __anon12ee11390211::ASTTransform 332 ASTTransform(MigrationContext &MigrateCtx) : MigrateCtx(MigrateCtx) { } in ASTTransform() argument 337 ObjCImplementationContext ImplCtx(MigrateCtx, D); in TraverseObjCImplementationDecl() 339 I = MigrateCtx.traversers_begin(), in TraverseObjCImplementationDecl() 340 E = MigrateCtx.traversers_end(); I != E; ++I) in TraverseObjCImplementationDecl() 350 BodyContext BodyCtx(MigrateCtx, rootS); in TraverseStmt() 352 I = MigrateCtx.traversers_begin(), in TraverseStmt() 353 E = MigrateCtx.traversers_end(); I != E; ++I) in TraverseStmt() 567 MigrationContext MigrateCtx(pass); in traverseAST() local 570 MigrateCtx.addTraverser(new GCCollectableCallsTraverser); in traverseAST() [all …]
|
D | TransProperties.cpp | 47 MigrationContext &MigrateCtx; member in __anon54bfabbf0111::PropertiesRewriter 74 explicit PropertiesRewriter(MigrationContext &MigrateCtx) in PropertiesRewriter() argument 75 : MigrateCtx(MigrateCtx), Pass(MigrateCtx.Pass) { } in PropertiesRewriter() 168 MigrateCtx.rewritePropertyAttribute("retain", toAttr, atLoc); in doPropAction() 292 return MigrateCtx.removePropertyAttribute(fromAttr, atLoc); in removeAttribute() 297 return MigrateCtx.rewritePropertyAttribute(fromAttr, toAttr, atLoc); in rewriteAttribute() 301 return MigrateCtx.addPropertyAttribute(attr, atLoc); in addAttribute() 357 return MigrateCtx.AtPropsWeak.count(atLoc.getRawEncoding()); in hasGCWeak()
|