How to Install clang-tidy-6.0 in Ubuntu 18.04



Install clang-tidy-6.0 by entering the following commands in the terminal:

sudo apt update
sudo apt install clang-tidy-6.0

Description:

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.

Homepage: http://www.llvm.org/

Version: 1:6.0-1ubuntu2

Section: universe/devel