This is an archive of the discontinued LLVM Phabricator instance.

clang-rename: implement renaming of classes with a dtor
ClosedPublic

Authored by vmiklos on Jun 15 2016, 12:21 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

vmiklos updated this revision to Diff 60793.Jun 15 2016, 12:21 AM
vmiklos retitled this revision from to clang-rename: implement renaming of classes with a dtor.
vmiklos updated this object.
vmiklos added a reviewer: klimek.
vmiklos added a subscriber: cfe-commits.
klimek edited edge metadata.Jun 15 2016, 12:54 AM

For 2), SourceLocation has getLocWithOffset?

Thanks, sounds like exactly what I need.

vmiklos updated this revision to Diff 60799.Jun 15 2016, 1:18 AM
vmiklos updated this revision to Diff 60800.
vmiklos updated this object.
vmiklos edited edge metadata.
vmiklos updated this revision to Diff 60801.Jun 15 2016, 1:21 AM

Now the correct patch. :-)

klimek accepted this revision.Jun 15 2016, 1:40 AM
klimek edited edge metadata.

lg

clang-rename/USRLocFinder.cpp
94 ↗(On Diff #60801)

I'd add an assert that this actually starts with ~.

This revision is now accepted and ready to land.Jun 15 2016, 1:40 AM
This revision was automatically updated to reflect the committed changes.