From: Remi Gacogne Date: Fri, 5 May 2023 09:08:48 +0000 (+0200) Subject: clang-tidy: Lower the code complexity threshold to 50 X-Git-Tag: auth-4.8.0~7^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12788%2Fhead;p=thirdparty%2Fpdns.git clang-tidy: Lower the code complexity threshold to 50 Let's see how it goes. --- diff --git a/.clang-tidy.full b/.clang-tidy.full index d27618a002..43754f5983 100644 --- a/.clang-tidy.full +++ b/.clang-tidy.full @@ -405,7 +405,7 @@ CheckOptions: - key: modernize-use-noexcept.UseNoexceptFalse value: 'true' - key: readability-function-cognitive-complexity.Threshold - value: '100' + value: '50' - key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic value: 'true' - key: bugprone-argument-comment.IgnoreSingleArgument