This is an empty clang-tidy
standalone version, you can build it without building
the whole LLVM(which takes a long). Current version is based on llvm-10 so you have
to use corresponding packages. A little bit more of a motivation is in
this article.
Install all LLVM 10 packages.
Follow the official manual.
Build as usual:
mkdir build
cd build
cmake ..
cmake --build .