llvm-project/clang-tools-extra/clang-rename
Miklos Vajna 47bd46395a clang-rename: add a -old-name option
This is similar to -offset with the following differences:

1) -offset can refer to local variables as well.

2) -old-name makes it easier to refer to e.g. ClassName::MemberName by
spelling out the fully qualified name, instead of having to use e.g.
grep to look up the exact offset.

In other words, -offset is great when clang-rename is invoked by e.g. an
IDE, but not really user-friendly when the tool is invoked by the user
from commandline.  That's the use case where -old-name is supposed to
improve the situation.

Reviewers: klimek

Differential Revision: http://reviews.llvm.org/D21517

llvm-svn: 273304
2016-06-21 19:48:57 +00:00
..
tool clang-rename: add a -old-name option 2016-06-21 19:48:57 +00:00
CMakeLists.txt [clang-rename] Fix broken dependency on shared build. 2016-05-13 15:38:54 +00:00
RenamingAction.cpp clang-rename: check that the source location we find actually has the old name 2016-05-13 09:17:32 +00:00
RenamingAction.h Revert r241330. It compiled with Visual C++ 2013 and gcc 4.9.1 (mingw) but now fails the bots. 2015-07-03 09:30:33 +00:00
USRFinder.cpp clang-rename: add a -old-name option 2016-06-21 19:48:57 +00:00
USRFinder.h clang-rename: add a -old-name option 2016-06-21 19:48:57 +00:00
USRFindingAction.cpp clang-rename: add a -old-name option 2016-06-21 19:48:57 +00:00
USRFindingAction.h clang-rename: add a -old-name option 2016-06-21 19:48:57 +00:00
USRLocFinder.cpp [clang-tools] mark TokenName as unused 2016-06-15 23:04:42 +00:00
USRLocFinder.h clang-rename: check that the source location we find actually has the old name 2016-05-13 09:17:32 +00:00