From 595f0dd4619a668f629a7bc8982924b9742134bc Mon Sep 17 00:00:00 2001 From: Alex Kremer Date: Wed, 4 Mar 2026 19:15:22 +0000 Subject: [PATCH] chore: Enable clang-tidy `bugprone-sizeof-expression` check (#6466) --- .clang-tidy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index f6e826323a..26c7995631 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -38,6 +38,7 @@ Checks: "-*, bugprone-signal-handler, bugprone-signed-char-misuse, bugprone-sizeof-container, + bugprone-sizeof-expression, bugprone-spuriously-wake-up-functions, bugprone-standalone-empty, bugprone-string-constructor, @@ -84,7 +85,7 @@ Checks: "-*, performance-trivially-destructible " # --- -# checks that have some issues that need to be resolved: +# more checks that have some issues that need to be resolved: # # bugprone-crtp-constructor-accessibility, # bugprone-inc-dec-in-conditions, @@ -92,7 +93,6 @@ Checks: "-*, # bugprone-move-forwarding-reference, # bugprone-unused-local-non-trivial-variable, # bugprone-switch-missing-default-case, -# bugprone-sizeof-expression, # bugprone-suspicious-stringview-data-usage, # bugprone-suspicious-missing-comma, # bugprone-pointer-arithmetic-on-polymorphic-object,