[PATCH] D14145: modernize-use-default supports copy constructor and copy-assignment operator.

Angel Garcia via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 28 09:30:48 PDT 2015


angelgarcia added a comment.

> In which cases can this be false? (I assume if not all are copied?)


This can be false is there is we do anything else than initializing the
bases and members. So the previous code is there to ensure that we do that
and this is here to ensure that we *only* do that.


http://reviews.llvm.org/D14145





More information about the cfe-commits mailing list