[PATCH] D39865: Use default member initialization where possible

Jonas Toth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 12 09:20:23 PST 2018


JonasToth added a comment.

In https://reviews.llvm.org/D39865#947592, @sbc100 wrote:

> Manually.     Is there clang-tidy method of doing this?    This change is pretty conservative, it only includes to more obvious cases I could find.


clang-tidy should be able to do it: modernize-use-default-member-init.


https://reviews.llvm.org/D39865





More information about the llvm-commits mailing list