[PATCH] D13871: Add modernize-use-default check to clang-tidy.
Eugene Zelenko via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 19 18:03:40 PDT 2015
Eugene.Zelenko added a subscriber: Eugene.Zelenko.
Eugene.Zelenko added a comment.
Will be good idea to add handling of cases where default constructor is empty and only call base class(es) default constructor/members default constructors (see http://en.cppreference.com/w/cpp/language/default_constructor).
In test check should suggest to use default for N() : H() {}.
Of course, if it will be easy to implement. Otherwise, such cases may be left for future development.
http://reviews.llvm.org/D13871
More information about the cfe-commits
mailing list