r253859 - Fix calculation of shifted cursor/code positions. Specifically support

Renato Golin via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 23 01:32:57 PST 2015


On 23 November 2015 at 08:33, Daniel Jasper via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
> Author: djasper
> Date: Mon Nov 23 02:33:48 2015
> New Revision: 253859
>
> URL: http://llvm.org/viewvc/llvm-project?rev=253859&view=rev
> Log:
> 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.

Hi Daniel,

Not sure you've seen, but either this or your other commit broke the bots:

http://lab.llvm.org:8011/builders/clang-cmake-aarch64-42vma/builds/3501

http://lab.llvm.org:8011/builders/clang-cmake-aarch64-quick/builds/2605

http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15/builds/7678

cheers,
--renato


More information about the cfe-commits mailing list