Lines Matching defs:Replace
2371 auto Replace = [&](SourceLocation Start, unsigned Length,
2382 Replace(Start, 1, IsSingle ? "'" : "\"");
2383 Replace(FormatTok->Tok.getEndLoc().getLocWithOffset(-1), 1,
2396 Replace(Start.getLocWithOffset(i), 1, "");
2405 Replace(Start.getLocWithOffset(i), 0, "\\");
3046 // Replace all "\r\n" with "\n".
3521 inline bool isHeaderInsertion(const tooling::Replacement &Replace) {
3522 return Replace.getOffset() == UINT_MAX && Replace.getLength() == 0 &&
3524 Replace.getReplacementText());
3527 inline bool isHeaderDeletion(const tooling::Replacement &Replace) {
3528 return Replace.getOffset() == UINT_MAX && Replace.getLength() == 1;
3584 auto Replace =
3587 if (Replace) {
3588 auto Err = Result.add(*Replace);
3592 Result.getShiftedCodePosition(Replace->getOffset());
3594 Replace->getReplacementText());