From c611d43d2eafc033c8d68cb4762ea7a242bf1365 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 22 Jun 2024 14:07:58 -0400 Subject: Strengthen clang-tidy configuration --- src/.clang-tidy | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/.clang-tidy b/src/.clang-tidy index ea728e33..52862fe4 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -6,8 +6,6 @@ Checks: > -bugprone-easily-swappable-parameters, -cert-err33-c, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, - -clang-analyzer-valist.Uninitialized, - -clang-diagnostic-unused-function, -concurrency-mt-unsafe, -google-readability-todo, -hicpp-multiway-paths-covered, @@ -15,5 +13,9 @@ Checks: > -llvm-header-guard, -misc-no-recursion, -modernize-macro-to-enum, - -readability-function-cognitive-complexity, +CheckOptions: + - key: readability-function-cognitive-complexity.IgnoreMacros + value: 'true' + - key: readability-function-cognitive-complexity.Threshold + value: '91' InheritParentConfig: true -- cgit v1.2.1