diff options
author | Kirill Bobyrev <omtcyfz@gmail.com> | 2016-10-02 14:51:33 +0000 |
---|---|---|
committer | Kirill Bobyrev <omtcyfz@gmail.com> | 2016-10-02 14:51:33 +0000 |
commit | bbce7e21e50f937ab32acdf3c84c9834e4d1bce1 (patch) | |
tree | 090c15d9315811f119b24e8e625317af03b06723 /lldb/packages/Python/lldbsuite/test/python_api/sbdata | |
parent | 46413af7f702f645b964a6a1298042653f2d1ede (diff) | |
download | bcm5719-llvm-bbce7e21e50f937ab32acdf3c84c9834e4d1bce1.tar.gz bcm5719-llvm-bbce7e21e50f937ab32acdf3c84c9834e4d1bce1.zip |
[clang-rename] Overhaul clang-rename.el.
* Use lexical binding, as recommended for new libraries.
* Fix customization variable (set correct group and type).
* Create a new customization group for the library.
* Autoload the main clang-rename command so that users don't have to explicitly load the library.
* Correctly translate between file and buffer positions using bufferpos-to-filepos (if available) or a fallback.
* Don't invoke the shell, it's not necessary and adds complexity.
* Save clang-rename output in a buffer and display that on failure.
* Save all buffers before calling clang-rename. This is required anyway and prevents data loss when the buffer is later reverted.
* In revert-buffer, use keywords instead of t for Boolean arguments to improve readability.
* Don't reset buffer modes when reverting.
* Emacs treats the character after a symbol as part of the symbol, while clang-rename doesn't; resolve this inconsistency.
* Formatting.
Patch by Philipp Stephani!
Reviewers: omtcyfz
Differential Revision: https://reviews.llvm.org/D25156
llvm-svn: 283067
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/sbdata')
0 files changed, 0 insertions, 0 deletions