[PATCH] D24002: clang-rename: improve error message when -old-name is used and could not find symbol

Kirill Bobyrev via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 29 23:56:16 PDT 2016


omtcyfz added inline comments.

================
Comment at: clang-rename/USRFindingAction.cpp:168
@@ +167,3 @@
+      } else
+        errs() << "clang-rename: could not find symbol named " << OldName
+               << ".\n";
----------------
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.


https://reviews.llvm.org/D24002





More information about the cfe-commits mailing list