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