re PR c++/16370 (__attribute__((deprecated)) not useful on classes, and ugly function...
authorJason Merrill <jason@redhat.com>
Sun, 23 Sep 2007 15:27:10 +0000 (11:27 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 23 Sep 2007 15:27:10 +0000 (11:27 -0400)
commit823dd937db20d8f3d8c5bdf42e1d97dbefd3acae
tree735b6d2f664ebaa6197b73e19b4f2cda96754e7d
parent4637cb92287f1097aeac7f881e9b6149839b18e9
re PR c++/16370 (__attribute__((deprecated)) not useful on classes, and ugly function name listed for deperecation warnings on constructor)

        PR c++/16370
        * decl.c (grokdeclarator): Look through implicit TYPE_DECLs
        for deprecation warnings.

From-SVN: r128691
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/warn/deprecated-5.C [new file with mode: 0644]
gcc/testsuite/g++.dg/warn/deprecated.C