summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2018-11-19 17:10:40 (GMT)
committerBrad King <brad.king@kitware.com>2018-11-20 15:36:08 (GMT)
commit5731ec30f0596fefede4321e9883043aa7db60ba (patch)
treea9eb4745aac533e596391de8f58a9a7136f0a9f7 /.clang-tidy
parent1dc85a6652bc8255ff7a9ef39028a7df45e3007b (diff)
downloadCMake-5731ec30f0596fefede4321e9883043aa7db60ba.zip
CMake-5731ec30f0596fefede4321e9883043aa7db60ba.tar.gz
CMake-5731ec30f0596fefede4321e9883043aa7db60ba.tar.bz2
clang-tidy: fix warnings from version 7
Fix some warnings that are new since clang-tidy version 4, and update `.clang-tidy` to suppress the rest.
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy3
1 files changed, 3 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 8d79b0c..cec7d03 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -21,15 +21,18 @@ modernize-*,\
-modernize-use-using,\
performance-*,\
-performance-inefficient-string-concatenation,\
+-performance-inefficient-vector-operation,\
readability-*,\
-readability-function-size,\
-readability-identifier-naming,\
-readability-implicit-bool-cast,\
+-readability-implicit-bool-conversion,\
-readability-inconsistent-declaration-parameter-name,\
-readability-named-parameter,\
-readability-redundant-declaration,\
-readability-redundant-member-init,\
-readability-simplify-boolean-expr,\
+-readability-static-accessed-through-instance,\
"
HeaderFilterRegex: 'Source/cm[^/]*\.(h|hxx|cxx)$'
...