Lines Matching refs:Pass
38 MigrationPass &Pass; member in __anonc9fe80ca0111::RetainReleaseDeallocRemover
47 : Body(nullptr), Pass(pass) { in RetainReleaseDeallocRemover()
49 Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("delegate")); in RetainReleaseDeallocRemover()
51 Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("finalize")); in RetainReleaseDeallocRemover()
74 Pass.TA.reportError("it is not safe to remove an unused 'autorelease' " in VisitObjCMessageExpr()
91 Pass.TA.reportError(err, rec->getLocStart()); in VisitObjCMessageExpr()
100 Pass.TA.reportError(err, rec->getLocStart()); in VisitObjCMessageExpr()
105 Pass.TA.reportError("it is not safe to remove 'retain' " in VisitObjCMessageExpr()
120 Transaction Trans(Pass.TA); in VisitObjCMessageExpr()
124 Pass.TA.replace(E->getSourceRange(), "self"); in VisitObjCMessageExpr()
134 Transaction Trans(Pass.TA); in VisitObjCMessageExpr()
146 Pass.TA.replace(RecContainer->getSourceRange(), RecRange); in VisitObjCMessageExpr()
148 str += getNilString(Pass.Ctx); in VisitObjCMessageExpr()
149 Pass.TA.insertAfterToken(RecRange.getEnd(), str); in VisitObjCMessageExpr()
153 if (!hasSideEffects(rec, Pass.Ctx)) { in VisitObjCMessageExpr()
157 Pass.TA.replace(RecContainer->getSourceRange(), RecRange); in VisitObjCMessageExpr()
336 SourceManager &SM = Pass.Ctx.getSourceManager(); in checkForGCDOrXPC()
338 Pass.Ctx.getLangOpts()); in checkForGCDOrXPC()
395 Pass.TA.clearDiagnostic(diag::err_arc_illegal_explicit_message, in clearDiagnostics()
434 Pass.TA.removeStmt(E); in tryRemoving()
450 Pass.TA.replace(bopE->getSourceRange(), bopE->getRHS()->getSourceRange()); in tryRemoving()