← Back to context

Comment by feelamee

1 day ago

why do you run clang-tidy with compiler? Just use it interactively - with cland. These is much more useful to me

We do use clangd and it provides many checks, but I wanted to include clang-tidy in the CI. Though since me and my colleagues combine ff-only and ‘must build successfully before merging’, adding like 5 minutes to the CI is really annoying.

Iirc the reason why clangd is so much faster than clang-tidy is that clangs omits certain checks and limits which code it analyzes.