PR c++/86342 - -Wdeprecated-copy and system headers.
authorJason Merrill <jason@redhat.com>
Thu, 28 Jun 2018 20:22:21 +0000 (16:22 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 28 Jun 2018 20:22:21 +0000 (16:22 -0400)
commitb8be1451289da4dfd69673b768bdc0e901a0fcef
treeceb6b7907d2d5d0543187d9b22b1dd90048c9360
parent02fa47a905c1e06a5490032cc4bd4f733f4a0453
PR c++/86342 - -Wdeprecated-copy and system headers.

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

From-SVN: r262231
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/g++.dg/cpp0x/depr-copy2.C [new file with mode: 0644]