Lines Matching full:replacements
109 tooling::Replacements Changes;
233 // Returns equivalent replacements that preserve the correspondence between
237 split(const tooling::Replacements &Replacements, unsigned OldCursor, in split() argument
241 for (const tooling::Replacement &R : Replacements) { in split()
271 // The replacements we return are produced by composing these.
317 tooling::Replacements FormattingChanges; in formatIncremental()
338 // We must express insert/remove as Replacements. in formatIncremental()
339 tooling::Replacements InsertCursorPlaceholder( in formatIncremental()
345 tooling::Replacements RemoveCursorPlaceholder( in formatIncremental()
349 // We can't simply merge() and return: tooling::Replacements will combine in formatIncremental()
353 // - we use merge() to compute the final Replacements in formatIncremental()
355 // - we split the final Replacements at the cursor position, so that in formatIncremental()
357 tooling::Replacements Final; in formatIncremental()
364 std::vector<std::pair<const char *, const tooling::Replacements *>>{ in formatIncremental()
384 const std::vector<tooling::Replacement> &Replacements) { in transformCursorPosition() argument
386 for (const auto &R : Replacements) { in transformCursorPosition()
401 break; // Replacements are sorted, the rest are also after the cursor. in transformCursorPosition()