Lines Matching full:replaces
341 static void outputReplacementsXML(const Replacements &Replaces) { in outputReplacementsXML() argument
342 for (const auto &R : Replaces) { in outputReplacementsXML()
352 emitReplacementWarnings(const Replacements &Replaces, StringRef AssumedFileName, in emitReplacementWarnings() argument
354 if (Replaces.empty()) in emitReplacementWarnings()
364 for (const auto &R : Replaces) { in emitReplacementWarnings()
379 static void outputXML(const Replacements &Replaces, in outputXML() argument
395 outputReplacementsXML(Replaces); in outputXML()
490 Replacements Replaces = sortIncludes(*FormatStyle, Code->getBuffer(), Ranges, in format() local
496 auto Err = Replaces.add(tooling::Replacement( in format()
502 auto ChangedCode = tooling::applyAllReplacements(Code->getBuffer(), Replaces); in format()
508 Ranges = tooling::calculateRangesAfterReplacements(Replaces, Ranges); in format()
512 Replaces = Replaces.merge(FormatChanges); in format()
515 return emitReplacementWarnings(Replaces, AssumedFileName, Code); in format()
516 outputXML(Replaces, FormatChanges, Status, Cursor, CursorPosition); in format()
531 tooling::applyAllReplacements(Replaces, Rewrite); in format()