Notably, it also integrates well with IDEs (see here.
From a terminal,
use -DCMAKE_EXPORT_COMPILE_COMMANDS=ON when calling cmake (e.g. add it to the cmake.sh)
use -p=build when calling clang-tidy, so it will know all include directories, defines etc.
Problem
No problems, but
Improvement
There are warnings and improvements (readability, performance, etc)
clang-tidy is a useful tool for helping to keep a good code quality. I would suggest looking into the following option classes:
It can give warnings, but with -fix or --fix-errors it can even automatically apply some corrections.
The full list of options is here.
Notably, it also integrates well with IDEs (see here.
From a terminal,
Problem No problems, but
Improvement There are warnings and improvements (readability, performance, etc)
Alternatives