- improve templated class renaming, namely add capabilities of finding partial and full specializations
- fix virtual function and their overriding functions renaming
Details
Diff Detail
Event Timeline
test/clang-rename/TemplateClassInstantiationFindByDeclaration.cpp | ||
---|---|---|
2 | It makes sense to move RUN lines to the end of the file (and add -fno-delayed-template-parsing, if windows buildbots start complaining). | |
test/clang-rename/TemplateClassInstantiationFindByUninstantiatedType.cpp | ||
3 | This test looks exactly as the one above except for the offset. Instead of duplicating tests, we can run clang-rename multiple times and use different -check-prefix with FileCheck. In this case moving the RUN lines to the bottom makes even more sense. Also, instructions for updating -offset are incorrect, if you have multiple different offsets. |
test/clang-rename/TemplateClassInstantiationFindByUninstantiatedType.cpp | ||
---|---|---|
3 | Will it work if I add multiple invocations while not adding different -check-prefix? The replacements are the same across the runs. |
test/clang-rename/TemplateClassInstantiationFindByDeclaration.cpp | ||
---|---|---|
2 |
You mean for all tests? |
Removed dump() call used for debugging purposes.
Removed unneeded header inclusion in USRFindingAction.cpp.
Merged multiple identical tests into a single test with multiple clang-rename invocations.
test/clang-rename/TemplateClassInstantiationFindByUninstantiatedType.cpp | ||
---|---|---|
4 | Done. |
It makes sense to move RUN lines to the end of the file (and add -fno-delayed-template-parsing, if windows buildbots start complaining).