DIR-15-8-1
: move assignment self-assignment false positive
#889
Labels
false positive/false negative
An issue related to observed false positives or false negatives.
Affected rules
DIR-15-8-1
Description
Using the "move-and-swap idiom" proposed in the directive's example as a solution to address potential issues with self-assignment leads to an alert.
Example
I am getting a
when analyzing with
cpp/misra/src/rules/DIR-15-8-1/CopyAndMoveAssignmentsShallHandleSelfAssignment.ql
.The text was updated successfully, but these errors were encountered: