OSDN Git Service

PR c++/28025
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Jul 2006 20:28:26 +0000 (20:28 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Jul 2006 20:28:26 +0000 (20:28 +0000)
commit1fb8fb567e1d783d7e55ed80d673968e33aa8699
tree6530c82a3bb6524b265d975b0455ba9de9f3d1af
parentc54654b756743468792089321b0fac9527cc11d8
PR c++/28025
* cp-tree.h (LOOKUP_HIDDEN): New macro.  Reformat comments.
* name-lookup.c (unqualified_namespace_lookup): There is no way to
have a hidden name in non-namespace scopes.
* pt.c (tsubst_friend_class): Look for hidden names.
* decl.c (lookup_and_check_tag): Fix typo in comment.
* semantics.c (finish_compound_literal): Fix typo in comment.
PR c++/28025
* g++.dg/template/friend45.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115687 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/name-lookup.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/friend45.C [new file with mode: 0644]