[PATCH] D38674: [analyzer] MisusedMovedObjectChecker: More precise warning message
Peter Szecsi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 8 09:44:18 PDT 2017
szepet created this revision.
Herald added subscribers: baloghadamsoftware, whisperity.
Added new enum in order to differentiate the warning messages on "misusing" into 3 categories: function calls, moving an object, copying an object. (At the moment the checker gives the same message in case of copying and moving.)
Additional test cases added as well.
Note: The dependency is only added for the reason not having conflict problems on the test cases.
https://reviews.llvm.org/D38674
Files:
lib/StaticAnalyzer/Checkers/MisusedMovedObjectChecker.cpp
test/Analysis/MisusedMovedObject.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38674.118170.patch
Type: text/x-patch
Size: 7725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171008/7522cf7d/attachment.bin>
More information about the cfe-commits
mailing list