[PATCH] D137340: [clang-tidy] Add misc-use-anonymous-namespace check

Dave Brown via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 29 23:10:32 PST 2022


bigdavedev added inline comments.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/misc/use-anonymous-namespace.rst:7-9
+that could instead be moved into an anonymous namespace. It also detects
+instances moved to an anonymous namespace that still keep the redundant
+``static``.
----------------
Would we want this to be a fix as well? Removing the `static` keyword automatically would be nice.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137340/new/

https://reviews.llvm.org/D137340



More information about the cfe-commits mailing list