From b5288d85e77cf3b2a03f51fc86ffe2fb37c4eb64 Mon Sep 17 00:00:00 2001 From: David Capello Date: Tue, 27 Feb 2024 23:17:32 -0300 Subject: [PATCH] Update some clang tidy checks --- .clang-tidy | 8 ++++++++ laf | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index a69e80dd0..f261b2ee8 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -28,6 +28,12 @@ # readability-uppercase-literal-suffix: We use a lot of 0.0f, but in a # future we might enable this. # +# readability-named-parameter: We prefer misc-unused-parameters to +# remove a parameter name that is not used. +# +# misc-use-anonymous-namespace: We use anonymous namespaces or static +# functions indifferently. +# # misc-non-private-member-variables-in-classes: We use structs with # all public members in some cases. # @@ -42,11 +48,13 @@ Checks: > portability-*, readability-*, -bugprone-easily-swappable-parameters, + -misc-use-anonymous-namespace, -readability-braces-around-statements, -readability-function-cognitive-complexity, -readability-identifier-length, -readability-isolate-declaration, -readability-magic-numbers, + -readability-named-parameter, -readability-uppercase-literal-suffix WarningsAsErrors: '' CheckOptions: diff --git a/laf b/laf index a5561b2ed..de1aeaca3 160000 --- a/laf +++ b/laf @@ -1 +1 @@ -Subproject commit a5561b2ed9adac89ebf353fb86753229eafea9e0 +Subproject commit de1aeaca3552e9ce4a7681fc54ec8424a5eac910