<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/clang-tools-extra/clang-rename/tool, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2017-06-30T16:36:09+00:00</updated>
<entry>
<title>[refactor] Move clang-rename into the clang repository</title>
<updated>2017-06-30T16:36:09+00:00</updated>
<author>
<name>Alex Lorenz</name>
<email>arphaman@gmail.com</email>
</author>
<published>2017-06-30T16:36:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=4abbd92bf4c830549ff5536de9aa821012d76491'/>
<id>urn:sha1:4abbd92bf4c830549ff5536de9aa821012d76491</id>
<content type='text'>
The core engine of clang-rename will be used for local and global renames in the
new refactoring engine, as mentioned in
http://lists.llvm.org/pipermail/cfe-dev/2017-June/054286.html.

The clang-rename tool is still supported but might get deprecated in the future.

Differential Revision: https://reviews.llvm.org/D34696

llvm-svn: 306840
</content>
</entry>
<entry>
<title>clang-rename: add new -force option</title>
<updated>2017-06-02T09:32:28+00:00</updated>
<author>
<name>Miklos Vajna</name>
<email>vmiklos@vmiklos.hu</email>
</author>
<published>2017-06-02T09:32:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=a0ce6320796e34327f682b6f1999e89fd4c1f969'/>
<id>urn:sha1:a0ce6320796e34327f682b6f1999e89fd4c1f969</id>
<content type='text'>
Summary:
    The use-case is when renaming a widely used name, like a lower-level
    class in a codebase and clang-rename is simply invoked for each
    translation unit based on the compile database. In this case it's not
    interesting to show errors: not finding the symbol means there is
    simply nothing to do.

Reviewers: klimek

Reviewed By: klimek

Differential Revision: https://reviews.llvm.org/D32403

llvm-svn: 304534
</content>
</entry>
<entry>
<title>Make Emacs libraries compatible with Emacs 24.</title>
<updated>2016-10-11T09:15:10+00:00</updated>
<author>
<name>Manuel Klimek</name>
<email>klimek@google.com</email>
</author>
<published>2016-10-11T09:15:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=750f6a780b9c786ea45398436371b2656bb2cf4d'/>
<id>urn:sha1:750f6a780b9c786ea45398436371b2656bb2cf4d</id>
<content type='text'>
Emacs 24 doesn't have format-message, fall back to format in that case.

Patch by Philipp Stephani.

llvm-svn: 283861
</content>
</entry>
<entry>
<title>[clang-rename] Overhaul clang-rename.el.</title>
<updated>2016-10-02T14:51:33+00:00</updated>
<author>
<name>Kirill Bobyrev</name>
<email>omtcyfz@gmail.com</email>
</author>
<published>2016-10-02T14:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=bbce7e21e50f937ab32acdf3c84c9834e4d1bce1'/>
<id>urn:sha1:bbce7e21e50f937ab32acdf3c84c9834e4d1bce1</id>
<content type='text'>
* 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
</content>
</entry>
<entry>
<title>[clang-rename] Use checktime when reloading vim buffer after applying clang-rename</title>
<updated>2016-09-26T07:26:32+00:00</updated>
<author>
<name>Kirill Bobyrev</name>
<email>omtcyfz@gmail.com</email>
</author>
<published>2016-09-26T07:26:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=bd80bbd3c36cc0bddf339809b85a6fa93b72cbc6'/>
<id>urn:sha1:bd80bbd3c36cc0bddf339809b85a6fa93b72cbc6</id>
<content type='text'>
After applying `clang-rename` to a vim buffer (using `clang-rename.py` as part
of the vim integration) the buffer gets reloaded using `bufdo`. This solution is
suboptimal, since syntax highlighting is turned off for performance reasons and
never turned on, after all changes to the source file have been applied.

A better solution to this is using `checktime`. It is exactly designed for this
kind of task and doesn't have the syntax highlighting issue.

Patch by Kai Wolf!

Reviewers: omtcyfz

Differential Revision: https://reviews.llvm.org/D24791

llvm-svn: 282388
</content>
</entry>
<entry>
<title>[clang-rename] Fix handling of unchanged files</title>
<updated>2016-09-17T17:08:47+00:00</updated>
<author>
<name>Alexander Shaposhnikov</name>
<email>shal1t712@gmail.com</email>
</author>
<published>2016-09-17T17:08:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e4920c6fb9f04f74a8365eed6c50fd21a57b1564'/>
<id>urn:sha1:e4920c6fb9f04f74a8365eed6c50fd21a57b1564</id>
<content type='text'>
Fix the output of clang-rename for the files without modifications.
Update the code in clang-reorder-fields/tool/ClangReorderFields.cpp 
to avoid inconsistency.

Example:
a.h:
struct A {};
a.cpp:
#include "a.h"
int main() { return 0; }

Before the changes the output looks like this:
clang-rename -qualified-name=A -new-name=B a.cpp
&lt;&lt;&lt;&lt;&lt;INVALID SOURCE LOCATION&gt;&gt;&gt;&gt;&gt;

Test plan: make -j8 check-clang-tools

Differential revision: https://reviews.llvm.org/D24634

llvm-svn: 281826
</content>
</entry>
<entry>
<title>[clang-rename] Merge rename-{at|all} &amp; optimise.</title>
<updated>2016-09-16T08:45:19+00:00</updated>
<author>
<name>Kirill Bobyrev</name>
<email>omtcyfz@gmail.com</email>
</author>
<published>2016-09-16T08:45:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e5e7e153b5c7691b861b014844e760dccca42a16'/>
<id>urn:sha1:e5e7e153b5c7691b861b014844e760dccca42a16</id>
<content type='text'>
Having both rename-at and rename-all both seems confusing and introduces
unneeded difficulties. After merging rename-at and rename-all maintaining main
function wrappers and custom help becomes redundant while CLI becomes less
confusing.

D24224 (which was the original patch causing buildbot failures) wasn't aware of
bugs caused by passing both -offset and -qualified-name. After D24224 was landed
it caused buildbot failures and therefor I just reverted it.

Two things that make this patch different from D24224 are:

* unittests/clang-rename was deleted, because it is unmaintained and doesn't do
much.
* Passing both `-offset` and `-qualified-name` isn't allowed anymore for the
sake of preventing bugs.

This patch is a trivial enhancement of accepted D24224 revision.

Tested with `ninja check-all`.

Differential Revision: https://reviews.llvm.org/D24567

llvm-svn: 281710
</content>
</entry>
<entry>
<title>reverting r281456</title>
<updated>2016-09-14T13:23:14+00:00</updated>
<author>
<name>Kirill Bobyrev</name>
<email>omtcyfz@gmail.com</email>
</author>
<published>2016-09-14T13:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=8d78af4bb4fd27fc6c08bb2445a986c82d7bd6fc'/>
<id>urn:sha1:8d78af4bb4fd27fc6c08bb2445a986c82d7bd6fc</id>
<content type='text'>
llvm-svn: 281459
</content>
</entry>
<entry>
<title>[clang-rename] Merge rename-{at|all} &amp; optimize.</title>
<updated>2016-09-14T13:00:36+00:00</updated>
<author>
<name>Kirill Bobyrev</name>
<email>omtcyfz@gmail.com</email>
</author>
<published>2016-09-14T13:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c2ed91fc4e38364c4c67e2ad5915783e01399476'/>
<id>urn:sha1:c2ed91fc4e38364c4c67e2ad5915783e01399476</id>
<content type='text'>
Having both rename-at and rename-all both seems confusing and introduces
unneeded difficulties. Allowing to use both -qualified-name and -offset at once
while performing efficient renamings seems like a feature, too. Maintaining main
function wrappers and custom help becomes redundant while CLI becomes less
confusing.

Reviewers: alexfh

Differential Revision: https://reviews.llvm.org/D24224

llvm-svn: 281456
</content>
</entry>
<entry>
<title>minor header guards and help messages cleanup</title>
<updated>2016-08-19T09:36:14+00:00</updated>
<author>
<name>Kirill Bobyrev</name>
<email>omtcyfz@gmail.com</email>
</author>
<published>2016-08-19T09:36:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=405699ef1d69fe14e0186fc3728c92d6d1932a3e'/>
<id>urn:sha1:405699ef1d69fe14e0186fc3728c92d6d1932a3e</id>
<content type='text'>
llvm-svn: 279226
</content>
</entry>
</feed>
