[clang-tools-extra] [clang-tidy] new check readability-mark-static (PR #90830)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Thu May 2 07:51:03 PDT 2024


carlosgalvezp wrote:

- I'm not sure this is so much a readability check, I'd put it in `misc`. The main problem that it solves is avoiding ODR violations. I'd call it `misc-prefer-internal-linkage`.
 
- The auto-fix should be configurable to choose `static` or anonymous namespace.


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


More information about the cfe-commits mailing list