[clang-tools-extra] [clang-tidy] Option to ignore anonymous namespaces in avoid-non-const-global-variables (PR #93827)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 15 03:56:48 PDT 2024


https://github.com/5chmidti approved this pull request.

While I'm leaning more towards 
> NOLINT in the code can grab the attention of a future developer and prompt a refactoring to avoid the pattern.

, it's an off-by-default option that provides a choice.

LGTM

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


More information about the cfe-commits mailing list