vbvictor wrote:

> Personally I find the guidelines a bit silly since they lead to a sandwich of 
> static-anon namespace-static-anon-namespace. But those are the guidelines we 
> have :)

Yeah, but I guess it makes a lot easier to spot a function without internal 
linkage during review (although it should be caught by 
`misc-use-internal-linkage` once we roll `clang-tidy` in CI).

https://github.com/llvm/llvm-project/pull/153885
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to