forked from OSchip/llvm-project
7a95ce4399
Emacs functions by default use character positions; convert characters to offsets when handing parameters to clang-format and convert byte offsets we get from clang-format back to character positions. Reworked the code a bit so the 0-based to 1-based offset calculations are done in the same place where we do the multi-byte to offset mapping. llvm-svn: 226445 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ClangFormat.cpp | ||
Makefile | ||
clang-format-bbedit.applescript | ||
clang-format-diff.py | ||
clang-format-sublime.py | ||
clang-format.el | ||
clang-format.py | ||
git-clang-format |