Skip to content

Commit

Permalink
Quiet a couple of the new clang-tidy warnings (for now).
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Oct 28, 2021
1 parent 29c3eb1 commit d09a2f9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .clang-tidy
Expand Up @@ -51,6 +51,11 @@ Checks: '-*,
# line. New in clang11. ,
-bugprone-reserved-identifier,
# New in clang13. 4533 warnings. ,
-bugprone-easily-swappable-parameters,
# New in clang13. 979 warnings. ,
-bugprone-implicit-widening-of-multiplication-result
cert-*,
# Aliases for bugprone-reserved-identifier,
Expand Down Expand Up @@ -161,6 +166,12 @@ Checks: '-*,
# Disable newer C++14/17 tests for now. ,
-modernize-use-nodiscard,
# New in clang13. 2571 warnings. ,
-modernize-return-braced-init-list,
# New in clang13. 204 warnings. ,
-readability-redundant-member-init,
performance-*,
# The Q_DECLARE_METATYPE macro triggers a warning from this
Expand Down Expand Up @@ -207,6 +218,7 @@ CheckOptions:
- { key: readability-implicit-bool-conversion.AllowPointerConditions, value: 1 }
- { key: readability-implicit-bool-conversion.AllowIntegerConditions, value: 1 }
- { key: readability-inconsistent-declaration-parameter-name.strict, value: 1 }
- { key: readability-redundant-member-init.IgnoreBaseInCopyConstructors, value: 1 }
- { key: readability-redundant-declaration.IgnoreMacros, value: 0 }
- { key: readability-simplify-boolean-expr.chainedconditionalreturn, value: 1 }
- { key: readability-simplify-boolean-expr.chainedconditionalassignment, value: 1 }
Expand Down

0 comments on commit d09a2f9

Please sign in to comment.