[PATCH] D68185: [Diagnostics] Warn when class implements a copy constructor/copy assignment operator, but missing the copy assignment operator/copy constructor

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 28 13:49:53 PDT 2019


xbolva00 added a comment.

>> if I provide a destructor but implicitly default my copy operations, isn't that just as bad, Rule-of-Three-wise?

Yeah, I am wondering about this too. whether we should check the whole Rule-of-Three. Suggestions from other reviewers?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68185/new/

https://reviews.llvm.org/D68185





More information about the cfe-commits mailing list