llvmlibc-* are checks related to the LLVM-libc coding standards: * https://clang.llvm.org/extra/clang-tidy/checks/llvmlibc-callee-namespace.html * https://clang.llvm.org/extra/clang-tidy/checks/llvmlibc-implementation-in-namespace.html * https://clang.llvm.org/extra/clang-tidy/checks/llvmlibc-restrict-system-libc-headers.html They are used internally in LLVM development, and they are useless for us. Moreover, when compiling Cppcheck with llvm toolchain, clang-tidy will generate lots of warnings related to these checks (see: https://youtrack.jetbrains.com/issue/CPP-21351).
* clang_tidy.cmake: added clang-tidy-10 to program list * fixed -Wrange-loop-construct Clang warnings * fixed readability-qualified-auto clang-tidy warnings * .clang-tidy: actually disable clang-analyzer-* warnings * .clang-tidy: disabled some new warnings introduced with clang-tidy-10
* CMakeLists.txt: there is no REQUIRED option for include() * added a "run-clang-tidy" target when the executable exists / always create compilation database / added .clang-tidy with all existing warnings have been disabled for now