[PATCH] D140532: .clang-tidy: disable misc-use-anonymous-namespace check.
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 22 01:36:40 PST 2022
hokein created this revision.
hokein added a reviewer: sammccall.
Herald added a reviewer: njames93.
Herald added a project: All.
hokein requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.
The check gives warnings on static functions, this is allowed per LLVM
code style https://llvm.org/docs/CodingStandards.html#anonymous-namespaces
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D140532
Files:
.clang-tidy
Index: .clang-tidy
===================================================================
--- .clang-tidy
+++ .clang-tidy
@@ -1,4 +1,4 @@
-Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-const-correctness,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,readability-identifier-naming'
+Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-const-correctness,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,-misc-use-anonymous-namespace,readability-identifier-naming'
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140532.484762.patch
Type: text/x-patch
Size: 654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221222/e5fc0843/attachment.bin>
More information about the cfe-commits
mailing list