[PATCH] D69145: Give readability-redundant-member-init an option IgnoreBaseInCopyConstructors to avoid breaking code with gcc -Werror=extra
Conrad Poelman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 18 15:23:02 PST 2019
poelmanc added a comment.
Thanks @lebedev.ri for taking the time to think this through and reply. All that makes sense, so I've changed the default to `0`.
In addition to adding it to the ReleaseNotes, once clang-tidy 10 is released I'll reply to a StackOverflow question about this error with a link to the new option. That should further increase the odds of anyone who searches on the `gcc` warning/error easily finding the clang-tidy option.
Repository:
rCTE Clang Tools Extra
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69145/new/
https://reviews.llvm.org/D69145
More information about the cfe-commits
mailing list