update .clang-tidy
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2022-08-16 05:29:18 +02:00
parent 550a1143a5
commit cd03898039
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# -*- mode: conf; fill-column: 100; -*- # -*- mode: conf; fill-column: 100; -*-
# Written for clang-tidy 11. # Written for clang-tidy 14.
--- ---
Checks: '*, Checks: '*,
@ -29,7 +29,9 @@ Checks: '*,
-fuchsia-multiple-inheritance, -fuchsia-multiple-inheritance,
-llvmlibc*, -llvmlibc*,
-cppcoreguidelines-avoid-non-const-global-variables, -cppcoreguidelines-avoid-non-const-global-variables,
-cert-*-c' -cert-*-c,
-abseil-string-find-*,
-altera-*'
FormatStyle: file # Use .clang-format. FormatStyle: file # Use .clang-format.
CheckOptions: # ↓ Clashes with static private member prefix. (static int _var;) ↓ CheckOptions: # ↓ Clashes with static private member prefix. (static int _var;) ↓
- { key: readability-identifier-naming.VariableCase, value: lower_case } - { key: readability-identifier-naming.VariableCase, value: lower_case }
@ -44,5 +46,6 @@ CheckOptions: # ↓ Clashes with static private member prefix. (static int _va
- { key: readability-identifier-naming.EnumCase, value: lower_case } - { key: readability-identifier-naming.EnumCase, value: lower_case }
- { key: readability-identifier-naming.FunctionCase, value: lower_case } - { key: readability-identifier-naming.FunctionCase, value: lower_case }
- { key: readability-identifier-naming.ParameterCase, value: lower_case } - { key: readability-identifier-naming.ParameterCase, value: lower_case }
- { key: readability-function-cognitive-complexity.Threshold, value: 30 }
... ...
# vim: set et tw=100: