[clang-tools-extra] [clang-tidy] new check readability-mark-static (PR #90830)

Congcong Cai via cfe-commits cfe-commits at lists.llvm.org
Sat May 4 06:48:18 PDT 2024


HerrCai0907 wrote:

> * The auto-fix should be configurable to choose `static` or anonymous namespace.

Should I implement auto-fix for this check? Maybe some functions / variables will be marked incorrectly and cause link error because the coder just forget to include the header file but this check mark it as internal linkage.
WDYT? @carlosgalvezp @PiotrZSL @EugeneZelenko @SimplyDanny 

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


More information about the cfe-commits mailing list