https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106569

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to David Binderman from comment #0)
> Static analyser cppcheck can produce these style messages for gcc trunk
> source code:
> 
> $ fgrep useStlAlgorithm cppcheck.20220809.out
> trunk.git/gcc/analyzer/call-string.cc:169:9: style: Consider using
> std::count_if algorithm instead of a raw loop. [useStlAlgorithm]

I don't think count_if would work here. I haven't looked at the others yet, but
this first one seems like a useless suggestion.

Reply via email to