diff options
author | Rechi <Rechi@users.noreply.github.com> | 2020-10-30 18:53:28 +0000 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2020-10-30 18:53:28 +0000 |
commit | 80bdad2d95eff28a95250777a3b43a6af0ec2be0 (patch) | |
tree | b27ade955984895020072a46b9ce2cfab1811562 /.clang-tidy | |
parent | ba15b9fcc30f5921cd469a5cf2662fa5eb3b08bc (diff) |
[clang-tidy] enable performance-* checks
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 16 |
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)/' |