aboutsummaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
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)/'