diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-11-08 19:04:43 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-11-08 19:04:43 +0000 |
commit | 8ac9ea616e01991beb4164c1a44647763d33302c (patch) | |
tree | 76fd6ca76e5f6ba17b56e70c9283886caa7a0d95 /gcc/dwarf2out.c | |
parent | 86724f7f86713c04e2e2be9e866032b12ff64a61 (diff) | |
download | gcc-8ac9ea616e01991beb4164c1a44647763d33302c.zip gcc-8ac9ea616e01991beb4164c1a44647763d33302c.tar.gz gcc-8ac9ea616e01991beb4164c1a44647763d33302c.tar.bz2 |
decl.c (shadow_warning): New function.
* cp/decl.c (shadow_warning): New function.
(pushdecl): Improve -Wshadow warnings. Don't give both a warning
and an error when a block scope decl shadows a parameter.
* g++.dg/warn/Wshadow-1.C: New tests.
* g++.old-deja/g++.mike/for3.C: Update.
From-SVN: r46852
Diffstat (limited to 'gcc/dwarf2out.c')
0 files changed, 0 insertions, 0 deletions