From e20b346d3b0179e859de447377e40fa4dd76509e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 24 Jul 2024 15:15:22 +0000 Subject: [PATCH] clang-tidy: remove performance-enum-size MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Specifying the size of enumerators is verbose and provides dubious performance benefits for most of our uses. Silence the warning. Change-Id: I2dd482437f649f031b5b425d8952360bbe8ceae0 Signed-off-by: Jérémie Galarneau --- .clang-tidy | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-tidy b/.clang-tidy index d2a18789e..ec26f8791 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -91,6 +91,7 @@ Checks: '-*, modernize-use-using, performance-*, -performance-no-int-to-ptr, + -performance-enum-size, readability-redundant-member-init, readability-simplify-boolean-expr, readability-static-definition-in-anonymous-namespace' -- 2.34.1