Skip to content
Commit 3fed9452 authored by Daniel Jasper's avatar Daniel Jasper
Browse files

Fix calculation of shifted cursor/code positions. Specifically support

the case where a specific range is replaced by new text. Previously,
the calculation would shift any position from within a replaced region
to the first character after the region. This is undersirable, e.g. for
clang-format's include sorting.

llvm-svn: 253859
parent 2f8d345a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment