Lines Matching defs:merge
232 auto MergeShiftedRs = merge(RsShiftedByReplaces);
234 auto MergeShiftedReplaces = Rs.merge(ReplacesShiftedByRs);
279 // If insertions are order-independent, we can merge them.
322 // replacements to see if they are order-indepedent. If they are, merge `R`
328 // If `I` doesn't overlap with `R`, don't merge it.
362 // * We always merge elements from 'First' into elements from 'Second' and vice
364 // * We only extend to the right, i.e. merge elements with strictly increasing
376 // Merges the next element 'R' into this merged element. As we always merge
379 void merge(const Replacement &R) {
443 Replacements Replacements::merge(const Replacements &ReplacesToMerge) const {
472 Merged.merge(*I);
528 return FakeReplaces.merge(Replaces).getAffectedRanges();