Lines Matching refs:TA
201 Transaction Trans(Pass.TA); in rewriteToBridgedCast()
207 TransformActions &TA = Pass.TA; in rewriteToBridgedCast() local
210 if (!TA.hasDiagnostic(diag::err_arc_mismatched_cast, in rewriteToBridgedCast()
227 TA.clearDiagnostic(diag::err_arc_mismatched_cast, in rewriteToBridgedCast()
232 TA.insertAfterToken(CCE->getLParenLoc(), bridge); in rewriteToBridgedCast()
242 TA.insert(insertLoc, newCast.str()); in rewriteToBridgedCast()
245 TA.insert(insertLoc, newCast.str()); in rewriteToBridgedCast()
246 TA.insertAfterToken(E->getLocEnd(), ")"); in rewriteToBridgedCast()
267 TA.insert(InsertLoc, BridgeCall); in rewriteToBridgedCast()
270 TA.insert(InsertLoc, BridgeCall); in rewriteToBridgedCast()
271 TA.insertAfterToken(WrapE->getLocEnd(), ")"); in rewriteToBridgedCast()
277 Transaction Trans(Pass.TA); in rewriteCastForCFRetain()
278 Pass.TA.replace(callE->getSourceRange(), callE->getArg(0)->getSourceRange()); in rewriteCastForCFRetain()
300 Transaction Trans(Pass.TA); in rewriteBlockCopyMacro()
301 Pass.TA.replace(OuterRange, InnerRange); in rewriteBlockCopyMacro()
302 Pass.TA.insert(InnerRange.getBegin(), "["); in rewriteBlockCopyMacro()
303 Pass.TA.insertAfterToken(InnerRange.getEnd(), " copy]"); in rewriteBlockCopyMacro()
304 Pass.TA.clearDiagnostic(diag::err_arc_mismatched_cast, in rewriteBlockCopyMacro()
313 Transaction Trans(Pass.TA); in removeBlockReleaseMacro()
314 Pass.TA.clearDiagnostic(diag::err_arc_mismatched_cast, in removeBlockReleaseMacro()
321 Pass.TA.replace(OuterRange, InnerRange); in removeBlockReleaseMacro()
331 Pass.TA.removeStmt(E); in tryRemoving()
372 Pass.TA.reportError(err, E->getLocStart(), in transformObjCToNonObjCCast()
384 Pass.TA.reportNote(note, retS->getLocStart()); in transformObjCToNonObjCCast()