Skip to content

Commit

Permalink
liberate clang-tidy config file for use at talking-async code too
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausKlein committed Jul 24, 2022
1 parent fea320c commit c3ae3bb
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions asio/.clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
# misc-non-private-member-variables-in-classes: the options don't do anything
Checks: "*,\
-google-readability-todo,\
-google-build-using-namespace,\
-altera-unroll-loops,\
-fuchsia-*,\
fuchsia-multiple-inheritance,\
-llvm-header-guard,\
-llvm-include-order,\
-llvmlibc-*,\
-cppcoreguidelines-pro-bounds-pointer-arithmetic,\
-*-magic-numbers,\
-misc-non-private-member-variables-in-classes"
WarningsAsErrors: ''
CheckOptions:
Expand All @@ -23,6 +26,10 @@ CheckOptions:
value: 'true'
- key: 'bugprone-suspicious-string-compare.WarnOnLogicalNotComparison'
value: 'true'
- key: readability-identifier-length.MinimumParameterNameLength
value: '2'
- key: readability-identifier-length.MinimumVariableNameLength
value: '1'
- key: 'readability-simplify-boolean-expr.ChainedConditionalReturn'
value: 'true'
- key: 'readability-simplify-boolean-expr.ChainedConditionalAssignment'
Expand Down Expand Up @@ -110,8 +117,10 @@ CheckOptions:
value: 'lower_case'
- key: 'readability-identifier-naming.PrivateMemberCase'
value: 'lower_case'
- key: 'readability-identifier-naming.PrivateMemberPrefix'
value: 'm_'
# - key: 'readability-identifier-naming.PrivateMemberPrefix'
# value: 'm_'
- key: 'readability-identifier-naming.PrivateMemberSuffix'
value: '_'
- key: 'readability-identifier-naming.PrivateMethodCase'
value: 'lower_case'
- key: 'readability-identifier-naming.ProtectedMemberCase'
Expand Down

0 comments on commit c3ae3bb

Please sign in to comment.