llvm-project/clang-tools-extra/test/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
..
ClassTest.cpp clang-rename tests: move the run lines to the top of the test files 2016-05-09 08:47:18 +00:00
ClassTestByName.cpp clang-rename: add a -old-name option 2016-06-21 19:48:57 +00:00
ConstCastExpr.cpp clang-rename: implement handling of remaining named casts 2016-06-13 18:50:45 +00:00
ConstructExpr.cpp clang-rename: fix renaming heap allocations 2016-06-02 20:00:22 +00:00
CtorDefTest.cpp clang-rename: handle non-inline ctor definitions when renaming classes 2016-05-18 16:12:48 +00:00
CtorInitializerTest.cpp clang-rename: fix renaming of field with implicit initializers 2016-05-11 08:08:07 +00:00
DeclRefExpr.cpp clang-rename: fix renaming non-members variables when referenced as macro arguments 2016-05-24 19:08:53 +00:00
DtorDefTest.cpp clang-rename: implement renaming of classes with a dtor 2016-06-15 18:35:41 +00:00
DynamicCastExpr.cpp clang-rename: fix the DynamicCastExpr test on ps4 2016-06-10 08:29:02 +00:00
FieldTest.cpp clang-rename tests: move the run lines to the top of the test files 2016-05-09 08:47:18 +00:00
MemberExprMacro.cpp clang-rename: fix renaming members when referenced as macro arguments 2016-05-20 11:43:59 +00:00
ReinterpretCastExpr.cpp clang-rename: implement handling of remaining named casts 2016-06-13 18:50:45 +00:00
StaticCastExpr.cpp clang-rename: implement renaming of classes inside static_cast 2016-06-06 19:40:12 +00:00
VarTest.cpp clang-rename tests: move the run lines to the top of the test files 2016-05-09 08:47:18 +00:00