[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 00:35:29 PDT 2024
carlosgalvezp wrote:
Thanks! Btw is the check intended to be used in C code as well? (I do not see C tests for it). If not, then i can move the logic to the matcher to keep it a bit cleaner, and restrict the check to C++ code.
The warning text mentions anonymous namespaces which would not be applicable in C.
https://github.com/llvm/llvm-project/pull/97969
More information about the cfe-commits
mailing list