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

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 20 08:24:03 PDT 2025


================

----------------
5chmidti wrote:

It would be better to combine these files with a check suffix and two RUN lines so that you can check tru-negatives for the options as well. Depending on the options the matches should be a strict superset for cars or member functions, e.g. a ` -check-suffix=,VAR

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


More information about the cfe-commits mailing list