summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-03-11 13:33:54 +0100
committersfan5 <sfan5@live.de>2020-03-12 00:10:09 +0100
commit8546d6089a89a4e34219fc10af088394a2eb3b1c (patch)
tree8154cb5ac42acbe375a8134ae343539fbf7a41f3 /.clang-tidy
parent7908b20dd975f9f9b08afbaafbb1501fe07da21c (diff)
downloadminetest-8546d6089a89a4e34219fc10af088394a2eb3b1c.tar.gz
minetest-8546d6089a89a4e34219fc10af088394a2eb3b1c.tar.bz2
minetest-8546d6089a89a4e34219fc10af088394a2eb3b1c.zip
Update clang-tidy configuration and scripts
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy7
1 files changed, 4 insertions, 3 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 80c1949f9..1b9f8bd07 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,4 +1,5 @@
-Checks: '-*,modernize-use-emplace,modernize-use-default-member-init,modernize-use-equals-delete,modernize-use-equals-default,modernize-return-braced-init-list,modernize-loop-convert,modernize-avoid-bind,misc-throw-by-value-catch-by-reference,misc-string-compare,misc-inefficient-algorithm,misc-inaccurate-erase,misc-incorrect-roundings,misc-unconventional-assign-operator,bugprone-suspicious-memset-usage,performance-*'
+Checks: '-*,modernize-use-emplace,modernize-avoid-bind,misc-throw-by-value-catch-by-reference,misc-unconventional-assign-operator,performance-*'
+WarningsAsErrors: '-*,modernize-use-emplace,performance-type-promotion-in-math-fn,performance-faster-string-find,performance-implicit-cast-in-loop'
CheckOptions:
- - key: modernize-use-default-member-init.UseAssignment
- value: True
+ - key: performance-unnecessary-value-param.AllowedTypes
+ value: v[23]f;v[23][su](16|32)