HomePhabricator

[analyzer] MisusedMovedObjectChecker: More precise warning message

Description

[analyzer] MisusedMovedObjectChecker: More precise warning message

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.

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

Details

Committed
szepetOct 28 2017, 4:24 PM
Differential Revision
D38674: [analyzer] MisusedMovedObjectChecker: More precise warning message
Branches
Unknown
Tags
Unknown