From af0c561b1594c619fccf9fcb6ac970526e7a5c8e Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 26 Jan 2025 20:07:48 +0100 Subject: [PATCH] Clang Tidy: Silence a few more warnings * bugprone-signed-char-misuse: Not relevant because of -funsigned-char. * bugprone-switch-missing-default-case: Not necessarily better to add default. * bugprone-multi-level-implicit-pointer-conversion: Common pattern. * bugprone-assignment-in-if-condition: Common pattern, not against guidelines. Pull Request: https://projects.blender.org/blender/blender/pulls/133734 --- .clang-tidy | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index 21f253c437d..1dadb21d00e 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -34,6 +34,10 @@ Checks: > -bugprone-reserved-identifier, -bugprone-easily-swappable-parameters, -bugprone-implicit-widening-of-multiplication-result, + -bugprone-multi-level-implicit-pointer-conversion, + -bugprone-switch-missing-default-case, + -bugprone-signed-char-misuse, + -bugprone-assignment-in-if-condition, -bugprone-sizeof-expression, -bugprone-integer-division,