[PATCH] D139113: Fix a couple additional cases in misc-use-anonymous-namespace only
Thorsten via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 1 13:18:18 PST 2022
tschuett added a comment.
The LLVM coding style says to prefer static over anonymous namespaces.
================
Comment at: clang-tools-extra/docs/clang-tidy/checks/misc/use-anonymous-namespace.rst:19
+* Functions or variables in header files, since anonymous namespaces in headers
+ is considered an antipattern. Allowed header file exntensions can be configured
+ via the `HeaderFileExtensions` option (see below).
----------------
extensions
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139113/new/
https://reviews.llvm.org/D139113
More information about the cfe-commits
mailing list