Lines Matching refs:Second
347 // overlapping replacements from 'First' and 'Second' in mergeReplacements.
352 // whereas replacements from 'Second' refer to the text after applying 'First'.
355 // text, i.e. transforms elements from 'Second' to take into account what was
362 // * We always merge elements from 'First' into elements from 'Second' and vice
377 // from 'First' into 'Second' or vice versa, the MergedReplacement knows what
424 // Amount of characters that elements from 'Second' need to be shifted by in
448 auto &Second = ReplacesToMerge.Replaces;
449 // Delta is the amount of characters that replacements from 'Second' need to
455 // Offset) from either 'First' or 'Second'. Merge that element with
458 for (auto FirstI = First.begin(), SecondI = Second.begin();
459 FirstI != First.end() || SecondI != Second.end();) {
460 bool NextIsFirst = SecondI == Second.end() ||
467 while ((Merged.mergeSecond() && SecondI != Second.end()) ||