[PATCH] D70342: [Diagnostics] Put "deprecated copy" warnings into -Wdeprecated-copy

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 25 09:01:40 PST 2019


hans added a comment.

In D70342#1758832 <https://reviews.llvm.org/D70342#1758832>, @xbolva00 wrote:

> Add copy ctor/op= manually.


Does the warning mean that the implicitly defined copy ctor is not going to work in some later version of the language?

I'm just trying to understand what it's warning about. If it's pointing out bugs in our code, we should fix them obviously.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70342





More information about the cfe-commits mailing list