diff options
author | Sebastian Parborg <darkdefende@gmail.com> | 2022-05-06 15:47:45 +0300 |
---|---|---|
committer | Sebastian Parborg <darkdefende@gmail.com> | 2022-05-06 16:26:54 +0300 |
commit | 763b8f14237fd534fc9ebd3a8ed82c57ca8b5463 (patch) | |
tree | b4b45ed181205d977263f975178ea4aeeaf90bb1 /.clang-tidy | |
parent | dd2df5ceb0bfe5db7d6ee2c4865310672d7d9c9c (diff) |
Clang-tidy: Ignore variable name length and .c/.cc include warnings
After some internal discussion it was decided that we should ignore name
variable length tidy warnings. Otherwise we would have warnings for
every variable that is under three characters long.
Additionally we will also ignore any warnings when including non header
files as the Unity library in our build system uses this excessively
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy index bbd51291918..42ce52d58ca 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -16,10 +16,9 @@ Checks: > -readability-make-member-function-const, -readability-suspicious-call-argument, -readability-redundant-member-init, - -readability-misleading-indentation, - -readability-use-anyofallof, + -readability-identifier-length, -readability-function-cognitive-complexity, @@ -37,6 +36,8 @@ Checks: > -bugprone-redundant-branch-condition, + -bugprone-suspicious-include, + modernize-*, -modernize-use-auto, -modernize-use-trailing-return-type, |