[clang-tools-extra] [clang-tidy] Add new check `llvm-prefer-static-over-anonymous-namespace` (PR #142839)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 5 05:53:37 PDT 2025


AaronBallman wrote:

I think that having such a check is a reasonable idea, but yeah, I doubt we could turn it on in CI without limiting to just new code. But it would be a handy tool when writing new code, so I think it's probably worth it.

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


More information about the cfe-commits mailing list