Lines Matching full:replaces

33         Replaces(E.getReplacements().begin(), E.getReplacements().end()) {}  in NormalizedAtomicChange()
45 std::vector<clang::tooling::Replacement> Replaces; member
61 Io.mapRequired("Replacements", Doc.Replaces); in mapping()
76 Io.mapRequired("Replacements", Keys->Replaces); in mapping()
109 const clang::tooling::Replacements &Replaces) { in getRangesForFormating() argument
118 for (const clang::tooling::Replacement &R : Replaces) { in getRangesForFormating()
181 // file path in all replacements and replaces them with \p FilePath.
185 Replacements Replaces; in combineReplacementsInChanges() local
188 if (auto Err = Replaces.add(Replacement( in combineReplacementsInChanges()
191 return Replaces; in combineReplacementsInChanges()
217 clang::tooling::Replacements Replaces) in AtomicChange() argument
220 RemovedHeaders(std::move(RemovedHeaders)), Replaces(std::move(Replaces)) { in AtomicChange()
226 if (!(Replaces == Other.Replaces)) in operator ==()
248 for (const auto &R : NE.Replaces) { in convertFromYAML()
249 llvm::Error Err = E.Replaces.add(R); in convertFromYAML()
261 return Replaces.add(Replacement(SM, Range, ReplacementText)); in replace()
266 return Replaces.add(Replacement(SM, Loc, Length, Text)); in replace()
274 llvm::Error Err = Replaces.add(R); in insert()
280 unsigned NewOffset = Replaces.getShiftedCodePosition(R.getOffset()); in insert()
285 Replaces = Replaces.merge(Replacements(NewR)); in insert()
311 llvm::Expected<Replacements> Replaces = in applyAtomicChanges() local
313 if (!Replaces) in applyAtomicChanges()
315 llvm::toString(Replaces.takeError())); in applyAtomicChanges()
317 Replacements AllReplaces = std::move(*Replaces); in applyAtomicChanges()