[PATCH] D78198: [Format] Work around current vim bugs in clang-format.py

2020-04-15 Thread Sam McCall via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG591be7ec500c: [Format] Work around current vim bugs in clang-format.py (authored by sammccall). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D78198/new/ htt

[PATCH] D78198: [Format] Work around current vim bugs in clang-format.py

2020-04-15 Thread Haojian Wu via Phabricator via cfe-commits
hokein accepted this revision. hokein added a comment. This revision is now accepted and ready to land. thanks for tracing it down! looks good, I assume you have test it locally. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D78198/new/ https://revi

[PATCH] D78198: [Format] Work around current vim bugs in clang-format.py

2020-04-15 Thread Sam McCall via Phabricator via cfe-commits
sammccall created this revision. sammccall added a reviewer: hokein. Herald added a project: clang. Herald added a subscriber: cfe-commits. Do line/col to byte conversions on the python side rather than relying on vim. Its calculations are off when text annotations are present: - https://github.c