PR c++/86342 - -Wdeprecated-copy and system headers.
commitba36b06f1298caa5241bcae7a026c5aa7878b4d6
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jun 2018 20:22:21 +0000 (28 20:22 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jun 2018 20:22:21 +0000 (28 20:22 +0000)
treeceb6b7907d2d5d0543187d9b22b1dd90048c9360
parentc1005da8802726280a6b0fb9b08218d52589a119
PR c++/86342 - -Wdeprecated-copy and system headers.

* decl2.c (cp_warn_deprecated_use): Don't warn about declarations
in system headers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262231 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/g++.dg/cpp0x/depr-copy2.C [new file with mode: 0644]