clang-rename: improve error message when -old-name is used and could not find symbol
authorMiklos Vajna <vmiklos@vmiklos.hu>
Tue, 30 Aug 2016 07:23:24 +0000 (07:23 +0000)
committerMiklos Vajna <vmiklos@vmiklos.hu>
Tue, 30 Aug 2016 07:23:24 +0000 (07:23 +0000)
commit2e5fca77a68e491b1f4f5503fa6d4479a06bd463
treec9a54a67211cb0dccb0c9812e51d90cf5c37fabc
parent76eb219c9bd0bf7f248cfa90c2f5255068fb6c43
clang-rename: improve error message when -old-name is used and could not find symbol

Old output was:

clang-rename: could not find symbol at tools/clang/tools/extra/test/clang-rename/ClassFindByName.cpp:1:1 (offset 0).

Reviewers: omtcyfz

Differential Revision: https://reviews.llvm.org/D24002

llvm-svn: 280062
clang-tools-extra/clang-rename/USRFindingAction.cpp
clang-tools-extra/test/clang-rename/InvalidOldName.cpp [new file with mode: 0644]