re PR c++/83895 (-Wparentheses warns about pointer-to-member typedefs)
authorVille Voutilainen <ville.voutilainen@gmail.com>
Mon, 22 Jan 2018 12:44:33 +0000 (14:44 +0200)
committerVille Voutilainen <ville@gcc.gnu.org>
Mon, 22 Jan 2018 12:44:33 +0000 (14:44 +0200)
commit74e95ed04f70235f2f0a6de128369cf8b2bb8dcd
treee51f0f1407ce2cd1ab83bff385f3b2d0de7288b6
parent0e32449b70d847d800e2ef8a6b433e8efb850b03
re PR c++/83895 (-Wparentheses warns about pointer-to-member typedefs)

PR c++/83895

cp/

* decl.c (grokdeclarator): Don't diagnose extra parens
on typedefs.

testsuite/

* g++.dg/warn/83895.C: New.

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