Lines Matching refs:Replace
1573 auto Replace = [&](SourceLocation Start, unsigned Length,
1584 Replace(Start, 1, IsSingle ? "'" : "\"");
1585 Replace(FormatTok->Tok.getEndLoc().getLocWithOffset(-1), 1,
1598 Replace(Start.getLocWithOffset(i), 1, "");
1607 Replace(Start.getLocWithOffset(i), 0, "\\");
2232 // Replace all "\r\n" with "\n".
2670 inline bool isHeaderInsertion(const tooling::Replacement &Replace) {
2671 return Replace.getOffset() == UINT_MAX && Replace.getLength() == 0 &&
2673 .match(Replace.getReplacementText());
2676 inline bool isHeaderDeletion(const tooling::Replacement &Replace) {
2677 return Replace.getOffset() == UINT_MAX && Replace.getLength() == 1;
2734 auto Replace =
2736 if (Replace) {
2737 auto Err = Result.add(*Replace);
2741 Result.getShiftedCodePosition(Replace->getOffset());
2743 Replace->getReplacementText());