]> gcc.gnu.org Git - gcc.git/commit
re PR c++/9400 (Warning -Wshadow warns of shadowed declaration of THIS in local classes.)
authorMark Mitchell <mark@codesourcery.com>
Thu, 6 Mar 2003 21:10:38 +0000 (21:10 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 6 Mar 2003 21:10:38 +0000 (21:10 +0000)
commit0768112136c5c5e20ee580d61a2923b64995ba77
tree91b8b18aed5b3d7bec533681eb56d52574724b65
parent3d1df1fa6beec8f46864e4698cb5d762548998e2
re PR c++/9400 (Warning -Wshadow warns of shadowed declaration of THIS in local classes.)

PR c++/9400
* decl.c (pushdecl): Don't check for shadowing of DECL_ARTIFICIAL
PARM_DECLs.

PR c++/9400
* g++.dg/warn/Wshadow-2.C: New test.

From-SVN: r63904
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wshadow-2.C [new file with mode: 0644]
This page took 0.061302 seconds and 5 git commands to generate.