aboutsummaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2020-10-30 18:53:28 +0000
committerRechi <Rechi@users.noreply.github.com>2020-10-30 18:53:28 +0000
commit80bdad2d95eff28a95250777a3b43a6af0ec2be0 (patch)
treeb27ade955984895020072a46b9ce2cfab1811562 /.clang-tidy
parentba15b9fcc30f5921cd469a5cf2662fa5eb3b08bc (diff)
[clang-tidy] enable performance-* checks
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy16
1 files changed, 16 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000000..8e36231c21
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,16 @@
+Checks: "\
+ performance-faster-string-find,\
+ performance-for-range-copy,\
+ performance-implicit-conversion-in-loop,\
+ performance-inefficient-algorithm,\
+ performance-inefficient-vector-operation,\
+ performance-move-const-arg,\
+ performance-move-constructor-init,\
+ performance-no-automatic-move,\
+ performance-noexcept-move-constructor,\
+ performance-trivially-destructible,\
+ performance-type-promotion-in-math-fn,\
+ performance-unnecessary-copy-initialization,\
+ performance-unnecessary-value-param,\
+"
+HeaderFilterRegex: '(^|/)(tools|xbmc)/'