From 1bb65bd58fb24db0f48df830274581fa3be7e489 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 3 Jan 2022 13:41:32 -0800 Subject: [PATCH] Add IgnoreBaseInCopyConstructors to .clang-tidy gcc issues warnings on copy constructors that do not explicitly initialize the base class. --- .clang-tidy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index 3f2f2c054eb3d5..1d4438dbfda0cc 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