[libc-commits] [libc] [llvm] [ci][libc] Enable libc-lint in Linux premerge bootstrap CI (PR #240822)

Jeff Bailey via libc-commits libc-commits at lists.llvm.org
Wed Nov 11 23:59:56 PST 2026


kaladron wrote:

> Why exactly do we need a ToT clang-tidy versus a recent version?
> 
> It would be much nicer if we can use a container image with a recent clang-tidy (the apt repo is generally ~a day behind ToT I think) and then make this a libc specific check.
> 
> Conceptually I don't think this really belongs in the monorepo wide pipeline and would be much better scoped as a libc specific check. There are also other issues with this approach like CI jobs failing when `clang-tidy` gets changed. We can solve that by also building libc on clang-tidy changes, but that should probably require coordination with clang-tidy maintainers and also makes introducing new checks that require cleanups harder.

The clang-tidy checks that are currently there are incorrect and incomplete in a number of ways.  My goal after this is to spend this cycle cleaning them up and then switching to a release version after that.

My overall goal is to help with various AI-driven commits from contributors, and I'm trying to push as much mechanical review as I can onto CI so that it can be caught before a human looks at it.  Because of that I'm hoping to get as much done as possible in this 6-month window and not stretch it over 2-3 releases from the feedback loop.

What do you suggest?

https://github.com/llvm/llvm-project/pull/240822


More information about the libc-commits mailing list