llvm-project/clang/tools/clang-format
Sam McCall 591be7ec50 [Format] Work around current vim bugs in clang-format.py
Summary:
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.com/vim/vim/issues/5930
- https://github.com/vim/vim/issues/3718 (fixed, but vim 8.1 is still common)

Reviewers: hokein

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D78198
2020-04-15 20:11:14 +02:00
..
fuzzer Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt [clang-format] [RELAND] Remove the dependency on frontend 2019-11-06 17:33:37 +00:00
ClangFormat.cpp [clang-format] refactor the use of the SMDiagnostics in replacement warnings 2019-11-13 20:55:44 +00:00
clang-format-bbedit.applescript
clang-format-diff.py [clang-format] A Minor change to clang-format-diff.py 2020-04-13 15:08:07 +01:00
clang-format-sublime.py [ClangFormat] Editor integrations inherit default style from clang-format binary 2019-05-17 07:22:55 +00:00
clang-format-test.el [Format] Fix clang-format.el unit tests after commit f349cc37cc 2019-11-11 17:55:38 +01:00
clang-format.el clang-format: Add a fallback style to Emacs mode 2019-11-06 09:50:54 +00:00
clang-format.py [Format] Work around current vim bugs in clang-format.py 2020-04-15 20:11:14 +02:00
git-clang-format [git-clang-format] Fix typo in help message 2020-03-02 18:16:35 +08:00