You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
Alternatives
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: