From b0348dfb7639de0cfaf92fe100b03721e2eb300e Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 7 Apr 2026 15:32:17 +0200 Subject: [PATCH] .clang-tidy.yml cleanup, test a new check --- .clang-tidy.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.clang-tidy.yml b/.clang-tidy.yml index 3ff38729c6..76b077a6c4 100644 --- a/.clang-tidy.yml +++ b/.clang-tidy.yml @@ -31,19 +31,19 @@ Checks: - bugprone-suspicious-missing-comma - bugprone-suspicious-realloc-usage - bugprone-suspicious-semicolon -# - bugprone-unchecked-string-to-number-conversion # needs converting sscanf to strtol or curlx_str_* + # bugprone-unchecked-string-to-number-conversion # needs converting sscanf to strtol or curlx_str_* - misc-const-correctness - misc-header-include-cycle -# - misc-redundant-expression # undesired hits due to system macros, e.g. due to POLLIN == POLLRDNORM | POLLRDBAND, then or-ing all three + # misc-redundant-expression # undesired hits due to system macros, e.g. due to POLLIN == POLLRDNORM | POLLRDBAND, then or-ing all three - portability-* - readability-duplicate-include -# - readability-else-after-return -# - readability-enum-initial-value -# - readability-function-cognitive-complexity + # readability-else-after-return + # readability-enum-initial-value + # readability-function-cognitive-complexity - readability-inconsistent-declaration-parameter-name -# - readability-misleading-indentation # too many false positives and oddball/conditional source + # readability-misleading-indentation # too many false positives and oddball/conditional source - readability-named-parameter -# - readability-redundant-casting # false positives in types that change from platform to platform, even with IgnoreTypeAliases: true + # readability-redundant-casting # false positives in types that change from platform to platform, even with IgnoreTypeAliases: true - readability-redundant-control-flow - readability-redundant-declaration - readability-redundant-function-ptr-dereference