We have a project that consists of several sub-projects which is built using cmake and ninja. clang-tidy is invoked via CMAKE_CXX_CLANG_TIDY.
Compiling the project without clang-tidy takes a couple of minutes. With clang-tidy 15, it takes about half an hour. Clang 16 just hangs when it reaches one of the sub-projects and needs to be killed after many hours of running without producing any output (6 processes consuming 100% CPU each on an M1 Mac).
CMAKE_VERBOSE_MAKEFILE is not helping.
I don’t know how to get more information, but any help is appreciated!