Searched refs:OldCursor (Results 1 – 1 of 1) sorted by relevance
237 split(const tooling::Replacements &Replacements, unsigned OldCursor, in split() argument242 if (R.getOffset() + R.getLength() <= OldCursor) { // before cursor in split()245 } else if (R.getOffset() < OldCursor) { // overlaps cursor in split()251 R.getFilePath(), R.getOffset(), OldCursor - R.getOffset(), in split()254 R.getFilePath(), OldCursor, in split()255 R.getLength() - (OldCursor - R.getOffset()), in split()257 } else if (R.getOffset() >= OldCursor) { // after cursor in split()