[PATCH] D54560: [analyzer] MoveChecker Pt.3: Improve warning messages a bit.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 16 16:26:22 PST 2018


NoQ updated this revision to Diff 174477.
NoQ added a comment.

Write down full messages in tests. When the message was updated from `'x' is moved'` to `Object 'x' is moved`, the tests were not updated because they kept passing because the former is still a sub-string of the latter.


https://reviews.llvm.org/D54560

Files:
  lib/StaticAnalyzer/Checkers/MoveChecker.cpp
  test/Analysis/use-after-move.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54560.174477.patch
Type: text/x-patch
Size: 22939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181117/4593daab/attachment-0001.bin>


More information about the cfe-commits mailing list