Closed
Description
Affected rules
A4-7-1
Description
This query is reporting ++
and --
on pointers, however the rule is restricted to data loss on integer operations.
In addition, the message currently says:
Binary expression ...++... may overflow.
Which is incorrect because we can also report unary expressions.
Example
pointer++; // Should be ignored