Also contain a fix:
- Fix a false positive of renaming a using shadow function declaration.
Paths
| Differential D38882
[clang-rename] Add function unit tests. ClosedPublic Authored by hokein on Oct 13 2017, 6:57 AM.
Details Summary Also contain a fix:
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 13 2017, 8:14 AM Comment Actions Sorry, I thought I have run all the tests. The previous version broke one test in RenameClass. We still need the workaround for the std::function<void(T)> special case. I added it back, and also added a corresponding test case for renaming function, but it is currently not supported and disabled, I think it is fine now, as it is a rare case IMO. Please take a look again. Comment Actions Still LGTM
hokein marked an inline comment as done. Comment ActionsRemove the FIXME.
Closed by commit rL315898: [clang-rename] Add function unit tests. (authored by hokein). · Explain WhyOct 16 2017, 3:37 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 119131 cfe/trunk/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
cfe/trunk/unittests/Rename/CMakeLists.txt
cfe/trunk/unittests/Rename/RenameClassTest.cpp
cfe/trunk/unittests/Rename/RenameFunctionTest.cpp
|