aboutsummaryrefslogtreecommitdiff
path: root/src/.clang-tidy
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-03-26 20:18:03 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-03-26 20:18:03 +0100
commit24004372302adfc0e7cb36f8db6830694bf050e9 (patch)
tree18a5950810b1ddf5798e4447ad4cb1a204c441ea /src/.clang-tidy
parent7e975e6cf86617346c1d8e2568f74a0252c03857 (diff)
downloadbitcoin-24004372302adfc0e7cb36f8db6830694bf050e9.tar.xz
clang-tidy: Add `performance-type-promotion-in-math-fn` check
https://clang.llvm.org/extra/clang-tidy/checks/performance/type-promotion-in-math-fn.html
Diffstat (limited to 'src/.clang-tidy')
-rw-r--r--src/.clang-tidy1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index b5620b3675..5a5a316953 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -10,6 +10,7 @@ performance-for-range-copy,
performance-inefficient-vector-operation,
performance-move-const-arg,
performance-no-automatic-move,
+performance-type-promotion-in-math-fn
performance-unnecessary-copy-initialization,
readability-const-return-type,
readability-redundant-declaration,