summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-01-30 17:51:07 +0100
committerRegina Pfeifer <regina@mailbox.org>2019-01-30 17:51:07 +0100
commit3f9822ff6d2e38ef9aedc54d654e3afc635596fd (patch)
tree831355ea44f7fa7cfdaba282cd9bb1fbd42f5c36 /.clang-tidy
parent748d024551d8f447046363ad617fc72bdd977fd2 (diff)
downloadcmake-3f9822ff6d2e38ef9aedc54d654e3afc635596fd.tar.gz
clang-tidy: Silence use-equals-default warning
clang-tidy 7 has an option to suppress this warning in macros which defaults to '1'. Set the option to '0' and silence the warning explicitly.
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy2
1 files changed, 2 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index dace6f1781..a41ab648eb 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -34,4 +34,6 @@ HeaderFilterRegex: 'Source/cm[^/]*\.(h|hxx|cxx)$'
CheckOptions:
- key: modernize-use-default-member-init.UseAssignment
value: '1'
+ - key: modernize-use-equals-default.IgnoreMacros
+ value: '0'
...