Skip to content

Commit 1bb65bd

Browse files
Add IgnoreBaseInCopyConstructors to .clang-tidy
gcc issues warnings on copy constructors that do not explicitly initialize the base class.
1 parent 4aba7e9 commit 1bb65bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.clang-tidy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ CheckOptions:
1616
value: CamelCase
1717
- key: readability-identifier-naming.IgnoreMainLikeFunctions
1818
value: 1
19-
19+
- key: readability-redundant-member-init.IgnoreBaseInCopyConstructors
20+
value: 1

0 commit comments

Comments
 (0)