diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-07-30 10:38:24 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-07-30 10:38:30 (GMT) |
commit | 4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f (patch) | |
tree | 6c34e88cf1b2a6fde07c07508883fc1d8feff83e /.clang-tidy | |
parent | 473f288e9703ad49e6be8f3fc8639e0bbb79cc9b (diff) | |
download | CMake-4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f.zip CMake-4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f.tar.gz CMake-4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f.tar.bz2 |
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-tidy | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy index bfcb67c..57e571a 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: |