]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Disable performance-enum-size.
authorMarc Fehling <mafehling.git@gmail.com>
Fri, 6 Sep 2024 10:24:18 +0000 (12:24 +0200)
committerMarc Fehling <mafehling.git@gmail.com>
Fri, 6 Sep 2024 13:23:32 +0000 (15:23 +0200)
.clang-tidy

index 242e9f284f7e54cc5f8239d0bca7b9781142d24a..edcb4d9a4735b2f3ab19e11b43e859a065a72b84 100644 (file)
@@ -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: '*'

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.