Home
last modified time | relevance | path

Searched refs:OldCursor (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFormat.cpp237 split(const tooling::Replacements &Replacements, unsigned OldCursor, in split() argument
242 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()