[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
Tue Nov 12 13:16:14 PST 2019
xbolva00 added a comment.
Ah, Clang has it under -Wdeprecated. https://clang.llvm.org/docs/DiagnosticsReference.html#wdeprecated.
But combo -Wall -Wextra does not enable this warning, sadly.
This should be extracted to -Wdeprecated-copy and put into -Wextra. Seems fine for you?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68185/new/
https://reviews.llvm.org/D68185
More information about the cfe-commits
mailing list