Core issue 812, 861
commit160594b061c238a9bb978326577798f2b21e203e
authorJason Merrill <jason@redhat.com>
Wed, 28 Oct 2009 18:39:36 +0000 (28 14:39 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 28 Oct 2009 18:39:36 +0000 (28 14:39 -0400)
treef1d540d090314ee8a7349bfac90bf363738aaa57
parent34ad94d88cc7646f1d1eceea20a4451100265fd5
Core issue 812, 861

Core issue 812, 861
* name-lookup.c (set_decl_namespace): Deal properly with inline
namespaces.
(qualified_lookup_using_namespace): Overhaul.
* pt.c (print_candidates): Handle getting an OVERLOAD.

change lookup algorithm

From-SVN: r153682
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/inline-ns1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/inline-ns2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/inline-ns3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lookup/using16.C