[clang-tools-extra] [clang-tidy] Do not warn on const variables in misc-use-internal-linkage (PR #97969)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 8 11:20:22 PDT 2024


carlosgalvezp wrote:

> When check were created with C++ in mind, it could work also for C. Would be good to support both, or mention in documentation that check is limited to C++, and maybe if there will be requests in future, it could be expanded to C.

Thanks for the input, in that case I think it's better to revert to the previous version, where the code is more self-documenting. Since I got it approved before I'll merge as soon as the checks pass!

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


More information about the cfe-commits mailing list