diff options
author | Kazu Hirata <kazu@google.com> | 2022-01-03 13:41:32 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-01-03 13:41:32 -0800 |
commit | 1bb65bd58fb24db0f48df830274581fa3be7e489 (patch) | |
tree | 3eef757c0be9e90d3f84a0b6f44bfd752713786a /.clang-tidy | |
parent | 4aba7e901e60d168bdb32ab37e9f281f551d47d3 (diff) | |
download | llvm-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-tidy | 3 |
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 |