clang-tidy

An LLVM-based C/C++ linter to find style violations, bugs and…

clang-tidy

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}}

clang-tidy {{path/to/file.cpp}} -checks={{-*,cppcoreguidelines-*}}

clang-tidy -checks={{*}} -list-checks

clang-tidy {{path/to/file.cpp}} -- -I{{my_project/include}} -D{{definitions}}

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← clang-format clash →