clang-tidy-4.0

clang-based C++ linter tool

Install

All systems
curl cmd.cat/clang-tidy-4.0.sh
Debian Debian
apt-get install clang-tidy-4.0
Ubuntu
apt-get install clang-tidy-4.0
Windows (WSL2)
sudo apt-get update sudo apt-get install clang-tidy-4.0
Raspbian
apt-get install clang-tidy-4.0

clang-tidy-4.0

clang-based C++ linter tool

Provide an extensible framework for diagnosing and fixing typical programming errors, like style violations, interface misuse, or bugs that can be deduced via static analysis. clang-tidy is modular and provides a convenient interface for writing new checks.