Clang: Also rename destructors when renaming class
ClosedPublic

Authored by kfunk on Jan 12 2017, 8:28 AM.

Details

Summary

BUG: 373452
FIXED-IN: 5.0.4

Diff Detail

Repository
R32 KDevelop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kfunk updated this revision to Diff 10087.Jan 12 2017, 8:28 AM
kfunk retitled this revision from to Clang: Also rename destructors when renaming class.
kfunk updated this object.
kfunk edited the test plan for this revision. (Show Details)
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptJan 12 2017, 8:28 AM
apol added a subscriber: apol.Jan 12 2017, 11:54 AM

Obviously this was nitpicking. Clearly fixes a bug and it's tested.
+1

languages/clang/tests/test_refactoring.cpp
74

Wouldn't it be better for the tests to have separate before.cpp and after.cpp files?

Then we could do things like:

action before.cpp > generated.cpp
diff generated.cpp after.cpp
languages/clang/tests/test_refactoring.h
21–22

TESTREFACTORING_H?

kfunk updated this revision to Diff 10121.Jan 13 2017, 8:01 AM

Fix issues mentioned

kfunk marked 2 inline comments as done.Jan 13 2017, 8:02 AM

Fixed

apol accepted this revision.Jan 15 2017, 11:14 PM
apol added a reviewer: apol.

Looks good to me, from my ignorance on Clang's internals.

This revision is now accepted and ready to land.Jan 15 2017, 11:14 PM
This revision was automatically updated to reflect the committed changes.