cppcheck icon indicating copy to clipboard operation
cppcheck copied to clipboard

Suggestion for a new checker - Check Different Variables Types

Open rmaman4 opened this issue 3 years ago • 1 comments

Severity: Style This checker checks whether there is an operation or an assignment of a variable represented by more bytes, in a variable represented by fewer bytes. It is possible for implicit conversions to lose information. The checker works according to the the following ladder - For example for the following line - long long var2 = 0; int var1 = var2; the checker will notify the user. image

rmaman4 avatar May 31 '22 09:05 rmaman4

there are CI failures you can look at.

danmar avatar Jun 03 '22 17:06 danmar

Still no reply after more than six months - closing.

firewave avatar Jan 21 '23 15:01 firewave