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

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 15 16:00:28 PST 2019


xbolva00 added a comment.

In D70342#1748555 <https://reviews.llvm.org/D70342#1748555>, @rsmith wrote:

> Generally OK, but I'm concerned about including this in `-Wextra`. In particular, the deprecation of copy/move operations when a destructor is explicitly declared has experimentally been found to have a high false-positive rate. Does GCC include this in `-Wextra`? (Its documentation doesn't seem to say so.)


Yes, right. Fixed. New revision should be OK.


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