[Bf-blender-cvs] [3b77c670f01] master: Clang Tidy: Expand modernize category
Sergey Sharybin
noreply at git.blender.org
Fri Nov 6 12:17:24 CET 2020
Commit: 3b77c670f01194e3621390a8ded425e748eace8d
Author: Sergey Sharybin
Date: Fri Nov 6 12:15:35 2020 +0100
Branches: master
https://developer.blender.org/rB3b77c670f01194e3621390a8ded425e748eace8d
Clang Tidy: Expand modernize category
Gives an idea of which warnings are affecting Blender code base.
===================================================================
M .clang-tidy
===================================================================
diff --git a/.clang-tidy b/.clang-tidy
index f80f484ffdf..25be61ff649 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -32,4 +32,26 @@ Checks: >
-bugprone-exception-escape,
-bugprone-redundant-branch-condition,
+ modernize-*,
+ -modernize-use-auto,
+ -modernize-use-trailing-return-type,
+ -modernize-deprecated-headers,
+ -modernize-avoid-c-arrays,
+ -modernize-use-equals-default,
+ -modernize-use-nullptr,
+ -modernize-concat-nested-namespaces,
+ -modernize-use-emplace,
+ -modernize-use-nodiscard,
+ -modernize-use-using,
+ -modernize-redundant-void-arg,
+ -modernize-use-bool-literals,
+ -modernize-loop-convert,
+ -modernize-pass-by-value,
+ -modernize-use-default-member-init,
+ -modernize-make-unique,
+ -modernize-raw-string-literal,
+ -modernize-avoid-bind,
+ -modernize-use-override,
+ -modernize-use-transparent-functors,
+
WarningsAsErrors: '*'
More information about the Bf-blender-cvs
mailing list