This is an archive of the discontinued LLVM Phabricator instance.

clang-rename: improve error message when -old-name is used and could not find symbol
ClosedPublic

Authored by vmiklos on Aug 29 2016, 1:02 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

vmiklos updated this revision to Diff 69604.Aug 29 2016, 1:02 PM
vmiklos retitled this revision from to clang-rename: improve error message when -old-name is used and could not find symbol.
vmiklos updated this object.
vmiklos added reviewers: klimek, omtcyfz.
vmiklos added a subscriber: cfe-commits.
omtcyfz added inline comments.Aug 29 2016, 11:56 PM
clang-rename/USRFindingAction.cpp
168 ↗(On Diff #69604)

I am not sure whether "could not find symbol called" would be a better wording. It doesn't sound good to me either. Probably something like "could not find symbol OldName" would be reasonable, too.

vmiklos updated this revision to Diff 69644.Aug 30 2016, 12:09 AM
vmiklos marked an inline comment as done.

Probably something like "could not find symbol OldName" would be reasonable, too.

OK, changed.

omtcyfz accepted this revision.Aug 30 2016, 12:11 AM
omtcyfz edited edge metadata.

Probably something like "could not find symbol OldName" would be reasonable, too.

OK, changed.

Great! Good catch, thank you!

The old wording should be confusing for most of the users.

This revision is now accepted and ready to land.Aug 30 2016, 12:11 AM
This revision was automatically updated to reflect the committed changes.