Add IgnoreBaseInCopyConstructors to .clang-tidy
authorKazu Hirata <kazu@google.com>
Mon, 3 Jan 2022 21:41:32 +0000 (13:41 -0800)
committerKazu Hirata <kazu@google.com>
Mon, 3 Jan 2022 21:41:32 +0000 (13:41 -0800)
gcc issues warnings on copy constructors that do not explicitly
initialize the base class.

.clang-tidy

index 3f2f2c0..1d4438d 100644 (file)
@@ -16,4 +16,5 @@ CheckOptions:
     value:           CamelCase
   - key:             readability-identifier-naming.IgnoreMainLikeFunctions
     value:           1
-
+  - key:             readability-redundant-member-init.IgnoreBaseInCopyConstructors
+    value:           1