From cccf3598514403a96c14aff6aba180efdbe471a3 Mon Sep 17 00:00:00 2001 From: glepnir Date: Wed, 2 Sep 2026 16:54:00 +0800 Subject: [PATCH] build: disable some clang-tidy readability checks #41556 Problem: New clang-tidy checks readability-trailing-comma and readability-redundant-parentheses fire across the codebase. Solution: Disable readability-trailing-comma and readability-redundant-parentheses checks in the clang-tidy configuration. --- .clang-tidy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index caab023700..e1b8619ff9 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -71,6 +71,8 @@ Checks: > -readability-math-missing-parentheses, -readability-redundant-declaration, Conflicts with our header generation scripts, -readability-suspicious-call-argument, + -readability-trailing-comma, + -readability-redundant-parentheses, -readability-use-concise-preprocessor-directives, Aliases. These are just duplicates of other warnings and should always be ignored,