This is an archive of the discontinued LLVM Phabricator instance.

clang-rename: when renaming a field, rename initializers of that field as well
ClosedPublic

Authored by vmiklos on May 5 2016, 12:23 AM.

Diff Detail

Event Timeline

vmiklos updated this revision to Diff 56241.May 5 2016, 12:23 AM
vmiklos retitled this revision from to clang-rename: when renaming a field, rename initializers of that field as well.
vmiklos updated this object.
vmiklos added reviewers: cfe-commits, klimek.
klimek accepted this revision.May 7 2016, 5:45 AM
klimek edited edge metadata.
klimek added inline comments.
test/clang-rename/FieldTest.cpp
7–9

Any reason you put the run lines down there, btw? Usually we put them at the top :)

This revision is now accepted and ready to land.May 7 2016, 5:45 AM
This revision was automatically updated to reflect the committed changes.

Not really, I just copied VarTest.cpp. I'll put it to top for new tests.