summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-01-03 13:41:32 -0800
committerKazu Hirata <kazu@google.com>2022-01-03 13:41:32 -0800
commit1bb65bd58fb24db0f48df830274581fa3be7e489 (patch)
tree3eef757c0be9e90d3f84a0b6f44bfd752713786a /.clang-tidy
parent4aba7e901e60d168bdb32ab37e9f281f551d47d3 (diff)
downloadllvm-1bb65bd58fb24db0f48df830274581fa3be7e489.tar.gz
Add IgnoreBaseInCopyConstructors to .clang-tidy
gcc issues warnings on copy constructors that do not explicitly initialize the base class.
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy3
1 files changed, 2 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 3f2f2c054eb3..1d4438dbfda0 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -16,4 +16,5 @@ CheckOptions:
value: CamelCase
- key: readability-identifier-naming.IgnoreMainLikeFunctions
value: 1
-
+ - key: readability-redundant-member-init.IgnoreBaseInCopyConstructors
+ value: 1