.clang-tidy: add anonymous namespace-related checks
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 15 Mar 2024 15:50:11 +0000 (11:50 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 22 Mar 2024 14:44:39 +0000 (10:44 -0400)
Change-Id: I96fc6cf56d5c2d47addbc944ceae3992162a0958
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
.clang-tidy

index 20682205a4aaa614a65613a4adfd53b6ee457ce4..5b6f3705b05298d17d9cd3a4ec1967c2b3cd4217 100644 (file)
@@ -68,6 +68,7 @@ Checks:          '-*,
                   misc-throw-by-value-catch-by-reference,
                   misc-unused-parameters,
                   misc-unused-using-decls,
+                  misc-use-anonymous-namespace,
                   modernize-avoid-bind,
                   modernize-concat-nested-namespaces,
                   modernize-loop-convert,
@@ -92,7 +93,8 @@ Checks:          '-*,
                   performance-*,
                   -performance-no-int-to-ptr,
                   readability-redundant-member-init,
-                  readability-simplify-boolean-expr'
+                  readability-simplify-boolean-expr,
+                  readability-static-definition-in-anonymous-namespace'
 FormatStyle: 'file'
 CheckOptions:
   - key:          bugprone-assert-side-effect.AssertMacros
This page took 0.025711 seconds and 4 git commands to generate.