[clang-tools-extra] [clang-tidy] add fixhint for misc-use-internal-linkage (PR #96203)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 23 07:39:57 PDT 2024
================
----------------
5chmidti wrote:
The other two functions have fixes as well. I'd argue that template declarations don't need to be inside anonymous namespaces/`static`, but that's outside the scope of this pr.
Either way, this pr should check that both have an attached fixit:
`// CHECK-FIXES: static void func_template() {}`
`// CHECK-FIXES: static void func_cpp_inc();`
https://github.com/llvm/llvm-project/pull/96203
More information about the cfe-commits
mailing list