Lines Matching defs:Replace
2438 auto Replace = [&](SourceLocation Start, unsigned Length,
2449 Replace(Start, 1, IsSingle ? "'" : "\"");
2450 Replace(FormatTok->Tok.getEndLoc().getLocWithOffset(-1), 1,
2463 Replace(Start.getLocWithOffset(i), 1, "");
2472 Replace(Start.getLocWithOffset(i), 0, "\\");
3113 // Replace all "\r\n" with "\n".
3595 inline bool isHeaderInsertion(const tooling::Replacement &Replace) {
3596 return Replace.getOffset() == UINT_MAX && Replace.getLength() == 0 &&
3598 Replace.getReplacementText());
3601 inline bool isHeaderDeletion(const tooling::Replacement &Replace) {
3602 return Replace.getOffset() == UINT_MAX && Replace.getLength() == 1;
3658 auto Replace =
3661 if (Replace) {
3662 auto Err = Result.add(*Replace);
3666 Result.getShiftedCodePosition(Replace->getOffset());
3668 Replace->getReplacementText());