Lines Matching refs:Pass
48 MigrationPass &Pass; member in __anon3e916da50111::PropertiesRewriter
74 : MigrateCtx(MigrateCtx), Pass(MigrateCtx.Pass) { } in PropertiesRewriter()
138 Transaction Trans(Pass.TA); in doTransform()
153 Transaction Trans(Pass.TA); in doTransform()
215 (Pass.isGCMigration() && !hasGCWeak(props, atLoc))) in rewriteProperty()
229 Pass.TA.clearDiagnostic(diag::err_arc_assign_property_ownership, in removeAssignForDefaultStrong()
235 bool canUseWeak = canApplyWeak(Pass.Ctx, getPropertyType(props), in rewriteAssign()
236 /*AllowOnUnknownClass=*/Pass.isGCMigration()); in rewriteAssign()
238 (Pass.isGCMigration() && !hasGCWeak(props, atLoc)) ? "strong" : in rewriteAssign()
250 (Pass.isGCMigration() && !hasGCWeak(props, atLoc)) ? "__strong " : in rewriteAssign()
252 Pass.TA.insert(I->IvarD->getLocation(), toWhich); in rewriteAssign()
256 Pass.TA.clearDiagnostic(diag::err_arc_assign_property_ownership, in rewriteAssign()
263 bool canUseWeak = canApplyWeak(Pass.Ctx, getPropertyType(props), in maybeAddWeakOrUnsafeUnretainedAttr()
264 /*AllowOnUnknownClass=*/Pass.isGCMigration()); in maybeAddWeakOrUnsafeUnretainedAttr()
275 Pass.TA.insert(I->IvarD->getLocation(), in maybeAddWeakOrUnsafeUnretainedAttr()
279 Pass.TA.clearDiagnostic(diag::err_arc_assign_property_ownership, in maybeAddWeakOrUnsafeUnretainedAttr()
281 Pass.TA.clearDiagnostic( in maybeAddWeakOrUnsafeUnretainedAttr()
332 if (Pass.isGCMigration()) in hasIvarWithExplicitARCOwnership()
358 if (!Pass.isGCMigration()) in hasGCWeak()