[libc-commits] [libc] [llvm] [ci][libc] Enable libc-lint in Linux premerge bootstrap CI (PR #240822)
via libc-commits
libc-commits at lists.llvm.org
Wed Nov 11 21:02:32 PST 2026
lntue 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.
+1 on enable linting on some specific libc CIs and using the same clang-tidy installation with clang used to build libc.
https://github.com/llvm/llvm-project/pull/240822
More information about the libc-commits
mailing list