xbolva00 added a comment.

Should we reconsider this as a clang warning? I found that the newest GCC can 
diagnose it.

GCC 9+:

-Wdeprecated-copy, implied by -Wextra, warns about the C++11 deprecation of 
implicitly declared copy constructor and assignment operator if one of them is 
user-provided. -Wdeprecated-copy-dtor also warns if the destructor is 
user-provided, as specified in C++11.

It woule be nice to keep compatibility. -Wextra seems reasonable for me too.


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

https://reviews.llvm.org/D68185



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to