From cfea54777ad3883ffbe97ade97d9d17c56061964 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Fri, 6 Sep 2024 12:24:18 +0200 Subject: [PATCH] Disable performance-enum-size. --- .clang-tidy | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index 242e9f284f..edcb4d9a47 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -8,6 +8,10 @@ # - selected modernize-* warnings: # Some of these produce a lot of noise for limited utility. # +# - performance-enum-size: +# We don't care if an enum could use a smaller base type than +# unsigned int. +# # - performance-inefficient-string-concatenation: # We don't care about "a"+to_string(5)+... # @@ -33,9 +37,10 @@ Checks: > -modernize-use-transparent-functors, mpi-*, performance-*, + -performance-avoid-endl, + -performance-enum-size, -performance-inefficient-string-concatenation, -performance-no-automatic-move, - -performance-avoid-endl, readability-qualified-auto WarningsAsErrors: '*' -- 2.39.5