summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-12-19 17:02:19 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-12-19 17:02:27 (GMT)
commitfa9853d833a10aeb8ea94abb98c0ebe3d7dfe5be (patch)
treeea232ad31d2830f803e82e2f0ba6e4d4bfd58117 /.clang-tidy
parente4c5e81f3116f620104d377b78e718ee47723125 (diff)
parentb2aa3aedeab09ad7b2c95353d2d3c3d867bcec53 (diff)
downloadCMake-fa9853d833a10aeb8ea94abb98c0ebe3d7dfe5be.zip
CMake-fa9853d833a10aeb8ea94abb98c0ebe3d7dfe5be.tar.gz
CMake-fa9853d833a10aeb8ea94abb98c0ebe3d7dfe5be.tar.bz2
Merge topic 'member-init'
b2aa3aedea clang-tidy: Use default member initialization 32cb564bea clang-tidy: Remove redundant member initializations 7ffa6bf999 cmUVHandlePtr: Use inherited constructors Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2726
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy5
1 files changed, 3 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy
index b35bc65..dc60714 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -15,7 +15,6 @@ modernize-*,\
-modernize-raw-string-literal,\
-modernize-return-braced-init-list,\
-modernize-use-auto,\
--modernize-use-default-member-init,\
-modernize-use-emplace,\
-modernize-use-equals-default,\
-modernize-use-equals-delete,\
@@ -33,8 +32,10 @@ readability-*,\
-readability-inconsistent-declaration-parameter-name,\
-readability-named-parameter,\
-readability-redundant-declaration,\
--readability-redundant-member-init,\
-readability-simplify-boolean-expr,\
"
HeaderFilterRegex: 'Source/cm[^/]*\.(h|hxx|cxx)$'
+CheckOptions:
+ - key: modernize-use-default-member-init.UseAssignment
+ value: '1'
...