[PATCH] D24339: [clang-tidy] Add check 'readability-redundant-member-init'

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 4 07:09:26 PDT 2016


aaron.ballman added inline comments.


> readability-redundant-member-init.cpp:162
> +  const S f;
> +};

Missing a test for `union` member initializers. Also, a test that multiple inheritance doesn't cause a fixit malfunction would be nice.

https://reviews.llvm.org/D24339





More information about the cfe-commits mailing list