The rule iterateByValue is reported in cppcheck from https://github.com/danmar/cppcheck/blame/610386c692748bcac0e95340bf95dc70184e64ae/lib/checkother.cpp#L1479 but seems to be unknown to the current plugin 2.2.0.
Actually the rule seems to be 2 years old but is hidden from cppcheck -errorlist?
The rule
iterateByValueis reported in cppcheck from https://github.com/danmar/cppcheck/blame/610386c692748bcac0e95340bf95dc70184e64ae/lib/checkother.cpp#L1479 but seems to be unknown to the current plugin 2.2.0.Actually the rule seems to be 2 years old but is hidden from
cppcheck -errorlist?