llvm-project/clang/tools/clang-format
Manuel Klimek 7a95ce4399 Make clang-format work in emacs buffers with unicode characters.
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
2015-01-19 10:48:04 +00:00
..
CMakeLists.txt [CMake] Prune redundant libdeps. 2014-10-30 01:37:44 +00:00
ClangFormat.cpp Add the shifted cursor position to XML output, so it can be used by editor integrations. 2015-01-09 10:03:47 +00:00
Makefile Refactor libTooling to reduce required dependencies. 2014-10-29 18:55:09 +00:00
clang-format-bbedit.applescript Basic clang-format integration for BBEdit. 2013-05-02 17:37:36 +00:00
clang-format-diff.py clang-format: Make clang-format-diff.py format java files. 2014-12-08 19:39:03 +00:00
clang-format-sublime.py Py3k compat for clang-format Sublime Text extension. 2013-11-08 22:46:56 +00:00
clang-format.el Make clang-format work in emacs buffers with unicode characters. 2015-01-19 10:48:04 +00:00
clang-format.py clang-format: Fix vim integration if g:clang_format_binary doesn't exist 2014-11-04 10:40:26 +00:00
git-clang-format Use /usr/bin/env python instead of /usr/bin/python. 2014-09-02 20:59:13 +00:00