diff options
author | Miklos Vajna <vmiklos@vmiklos.hu> | 2016-06-21 19:48:57 +0000 |
---|---|---|
committer | Miklos Vajna <vmiklos@vmiklos.hu> | 2016-06-21 19:48:57 +0000 |
commit | 47bd46395ad8496bd067d4e50f2ac5b196c09977 (patch) | |
tree | 746587a1977e83130827afd8167d86ae41ed3131 /clang/lib/AST/VTableBuilder.cpp | |
parent | 48975881abde87dd8afc399678c00067044e09ce (diff) | |
download | bcm5719-llvm-47bd46395ad8496bd067d4e50f2ac5b196c09977.tar.gz bcm5719-llvm-47bd46395ad8496bd067d4e50f2ac5b196c09977.zip |
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
Diffstat (limited to 'clang/lib/AST/VTableBuilder.cpp')
0 files changed, 0 insertions, 0 deletions