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/>.

Debian Debian
RUN apt-get update && \ apt-get install -y clang-tidy
Ubuntu
RUN apt-get update && \ apt-get install -y clang-tidy
Arch Arch Linux
RUN pacman -S --noconfirm clang-tidy
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y clang-tidy
Fedora
RUN dnf install -y clang-tools-extra
Raspbian
RUN apt-get update && \ apt-get install -y clang-tidy
click the source code to copy install clang-tidy on any operating system with command-not-found.com