Comment by ranger_danger

4 days ago

> it's difficult to set up

Is it though? I've only ever had to run "scan-build make" for my projects and it spits out a full folder of HTML pages that details any static analysis issues, and I didn't have to change my build system at all.

For a company codebase maybe not but for solo projects yeah it can be, what exact options do you enable in clang tidy? Have they changed since the last version you used and now you need to change the config? Do you run cpp-check?

This version of Qt has leaks on exit so you need to ignore them when running asan/valgrind etc...

I agree it's not that hard and should be standard, same regarding enabling all warnings that are reasonable and enable warnings as errors.