summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-07-30 12:38:24 +0200
committerRegina Pfeifer <regina@mailbox.org>2019-07-30 12:38:30 +0200
commit4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f (patch)
tree6c34e88cf1b2a6fde07c07508883fc1d8feff83e /.clang-tidy
parent473f288e9703ad49e6be8f3fc8639e0bbb79cc9b (diff)
downloadcmake-4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f.tar.gz
clang-tidy: Blacklist violations for version 8
Check the codebase with clang-tidy version 8, fix the low hanging fruits, blacklist the rest.
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy8
1 files changed, 8 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index bfcb67ca7f..57e571a292 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -3,16 +3,21 @@ Checks: "-*,\
bugprone-*,\
-bugprone-macro-parentheses,\
-bugprone-misplaced-widening-cast,\
+-bugprone-narrowing-conversions,\
+-bugprone-too-small-loop-variable,\
google-readability-casting,\
misc-*,\
-misc-incorrect-roundings,\
-misc-macro-parentheses,\
-misc-misplaced-widening-cast,\
+-misc-non-private-member-variables-in-classes,\
-misc-static-assert,\
modernize-*,\
+-modernize-avoid-c-arrays,\
-modernize-deprecated-headers,\
-modernize-return-braced-init-list,\
-modernize-use-auto,\
+-modernize-use-nodiscard,\
-modernize-use-noexcept,\
-modernize-use-transparent-functors,\
-modernize-use-using,\
@@ -24,8 +29,11 @@ readability-*,\
-readability-implicit-bool-cast,\
-readability-implicit-bool-conversion,\
-readability-inconsistent-declaration-parameter-name,\
+-readability-isolate-declaration,\
+-readability-magic-numbers,\
-readability-named-parameter,\
-readability-redundant-declaration,\
+-readability-uppercase-literal-suffix,\
"
HeaderFilterRegex: 'Source/cm[^/]*\.(h|hxx|cxx)$'
CheckOptions: