3 ms·
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 positiv
by drewg123 9y ago
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.