]> gcc.gnu.org Git - gcc.git/commit
PR c++/41305, DR 384
authorJason Merrill <jason@redhat.com>
Thu, 24 Dec 2009 21:46:14 +0000 (16:46 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 24 Dec 2009 21:46:14 +0000 (16:46 -0500)
commitdb10df3dfcd9eec5bc477bf3ec689e62f8c12db5
treec487a6204121c71d9afe1c113f2b34f12c97fdc5
parent17fad3611f3624776fc617e7734a80f7abba0562
PR c++/41305, DR 384

PR c++/41305, DR 384
* name-lookup.c (arg_assoc_class): Split out arg_assoc_class_only
and arg_assoc_bases.
(friend_of_associated_class_p): Remove.
(arg_assoc_namespace): Don't call it.
(arg_assoc_template_arg): Use arg_assoc_class_only for member
template context.
(arg_assoc_type): Handle UNION_TYPE and ENUMERAL_TYPE properly.

* name-lookup.c (arg_assoc): Handle TEMPLATE_ID_EXPR properly.

From-SVN: r155461
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/koenig10.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lookup/koenig11.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lookup/koenig12.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lookup/koenig9.C [new file with mode: 0644]
This page took 0.064834 seconds and 5 git commands to generate.