From: Marc Fehling Date: Fri, 6 Sep 2024 10:24:18 +0000 (+0200) Subject: Disable performance-enum-size. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfea54777ad3883ffbe97ade97d9d17c56061964;p=dealii.git Disable performance-enum-size. --- 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: '*'