Lines Matching refs:Pass
48 MigrationPass &Pass; member in __anon64f2de1f0111::PropertiesRewriter
75 : MigrateCtx(MigrateCtx), Pass(MigrateCtx.Pass) { } in PropertiesRewriter()
137 Transaction Trans(Pass.TA); in doTransform()
150 Transaction Trans(Pass.TA); in doTransform()
212 (Pass.isGCMigration() && !hasGCWeak(props, atLoc))) in rewriteProperty()
226 Pass.TA.clearDiagnostic(diag::err_arc_strong_property_ownership, in removeAssignForDefaultStrong()
234 bool canUseWeak = canApplyWeak(Pass.Ctx, getPropertyType(props), in rewriteAssign()
235 /*AllowOnUnknownClass=*/Pass.isGCMigration()); in rewriteAssign()
237 (Pass.isGCMigration() && !hasGCWeak(props, atLoc)) ? "strong" : in rewriteAssign()
249 (Pass.isGCMigration() && !hasGCWeak(props, atLoc)) ? "__strong " : in rewriteAssign()
251 Pass.TA.insert(I->IvarD->getLocation(), toWhich); in rewriteAssign()
255 Pass.TA.clearDiagnostic(diag::err_arc_strong_property_ownership, in rewriteAssign()
264 bool canUseWeak = canApplyWeak(Pass.Ctx, getPropertyType(props), in maybeAddWeakOrUnsafeUnretainedAttr()
265 /*AllowOnUnknownClass=*/Pass.isGCMigration()); in maybeAddWeakOrUnsafeUnretainedAttr()
276 Pass.TA.insert(I->IvarD->getLocation(), in maybeAddWeakOrUnsafeUnretainedAttr()
280 Pass.TA.clearDiagnostic(diag::err_arc_strong_property_ownership, in maybeAddWeakOrUnsafeUnretainedAttr()
284 Pass.TA.clearDiagnostic( in maybeAddWeakOrUnsafeUnretainedAttr()
335 if (Pass.isGCMigration()) in hasIvarWithExplicitARCOwnership()
353 if (!Pass.isGCMigration()) in hasGCWeak()