Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Parborg <darkdefende@gmail.com>2022-05-06 15:47:45 +0300
committerYimingWu <xp8110@outlook.com>2022-05-10 08:58:20 +0300
commitba6ed078b512342dd3e23c12458492829b543b76 (patch)
tree24ed4d717846c423abd8badae7ab083a385bf6c4
parent4ee6035e6ca75b6be8fa95b2631beba90dfc7336 (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
-rw-r--r--.clang-tidy5
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,