News for hackers. Stuff that matters.
Re:Running Clang-Tidy on the Linux Kernel by drewg123 on Thursday June 01, 2017 @09:05AM (#14459885)
What's the difference between clang-tidy, and cc --analyze?

FWIW, I just this week ran cc --analyze on a codebase that I inherited. It had a few false positives, but it mostly found real (albeit unlikely) bugs. Overall, it was an immensely helpful experience, as it found some bugs in areas of the code which I've never had to explore before, and it kind of forced me to understand those areas.

There are no comments on this comment yet.