An LLVM-based C/C++ linter to find style violations, bugs and security flaws through static analysis. More information: https://clang.llvm.org/extra/clang-tidy/.
clang-tidy path/to/file.cpp
cppcoreguidelines
checks on a file:clang-tidy path/to/file.cpp -checks=-*,cppcoreguidelines-*
clang-tidy -checks=* -list-checks
--
):clang-tidy path/to/file.cpp -- -Imy_project/include -Ddefinitions