refactor: Enable clang-tidy rule to reject anon namespace in header

The rule is named misc-anonymous-namespace-in-header in clang-tidy-22,
but use fuchsia-header-anon-namespaces for compat with clang-tidy-21.
This commit is contained in:
MarcoFalke
2026-08-05 11:25:49 +02:00
parent fafe5042bd
commit fa5ca877b6

View File

@@ -8,8 +8,9 @@ bugprone-use-after-move,
bugprone-lambda-function-name,
bugprone-unhandled-self-assignment,
bugprone-unused-return-value,
misc-unused-using-decls,
fuchsia-header-anon-namespaces,
misc-no-recursion,
misc-unused-using-decls,
modernize-avoid-bind,
modernize-deprecated-headers,
modernize-use-default-member-init,