diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-22 19:12:46 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-22 19:12:46 +0000 |
commit | a62433bc41c25503a41eb125dd14d1cd6bd7e619 (patch) | |
tree | c86a4aafb8a1a26f9bd4278787e962a264ab6afb /gcc/graphite-optimize-isl.c | |
parent | cdace3a0eadf18c79e61c74c59b2245b6227f697 (diff) | |
download | gcc-a62433bc41c25503a41eb125dd14d1cd6bd7e619.tar.gz |
gcc/cp/ChangeLog:
2014-08-22 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c++/57709
* name-lookup.c (pushdecl_maybe_friend_1): Do not warn if a
declaration shadows a function declaration, unless the former
declares a function, pointer to function or pointer to member
function, because this is a common and valid case in real-world
code.
* cp-tree.h (TYPE_PTRFN_P,TYPE_REFFN_P,TYPE_PTRMEMFUNC_P):
Improve description.
gcc/testsuite/ChangeLog:
2014-08-22 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c++/57709
* g++.dg/Wshadow.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214357 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-optimize-isl.c')
0 files changed, 0 insertions, 0 deletions