Skip to content

Commit

Permalink
Add IgnoreBaseInCopyConstructors to .clang-tidy
Browse files Browse the repository at this point in the history
gcc issues warnings on copy constructors that do not explicitly
initialize the base class.
  • Loading branch information
kazutakahirata committed Jan 3, 2022
1 parent 4aba7e9 commit 1bb65bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ CheckOptions:
value: CamelCase
- key: readability-identifier-naming.IgnoreMainLikeFunctions
value: 1

- key: readability-redundant-member-init.IgnoreBaseInCopyConstructors
value: 1

0 comments on commit 1bb65bd

Please sign in to comment.