From 077f231111082272359a916c3e41049aaf699151 Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Wed, 4 Apr 2018 20:49:42 +0200 Subject: [clang-tidy] Promote some performance-* as a coding error (#7194) * Promote performance-type-promotion-in-math-fn as a coding error * Promote performance-faster-string-find too (which is not problematic currently) * Same for performance-implicit-cast-in-loop * Fix remaining tidy points --- util/travis/clangtidy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/travis/clangtidy.sh b/util/travis/clangtidy.sh index 2d44afe32..6f76765a1 100755 --- a/util/travis/clangtidy.sh +++ b/util/travis/clangtidy.sh @@ -19,7 +19,7 @@ cd .. echo "Performing clang-tidy checks..." ./util/travis/run-clang-tidy.py -clang-tidy-binary=${CLANG_TIDY} -p cmakebuild \ -checks='-*,modernize-use-emplace,modernize-avoid-bind,performance-*' \ - -warningsaserrors='-*,modernize-use-emplace' \ + -warningsaserrors='-*,modernize-use-emplace,performance-type-promotion-in-math-fn,performance-faster-string-find,performance-implicit-cast-in-loop' \ -no-command-on-stdout -quiet \ files 'src/.*' RET=$? -- cgit v1.2.3