name-lookup.c (pushdecl_maybe_friend_1): Use nonlambda_method_basetype and current_no...
authorJason Merrill <jason@redhat.com>
Thu, 28 Mar 2013 18:20:37 +0000 (14:20 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 28 Mar 2013 18:20:37 +0000 (14:20 -0400)
commitc561e95201474d7951cbd7a09195b7f3b412d1e9
tree1d3f14b22fb360cb249d5f55ea77042cf3d48cc3
parent477e1843fd13958fbecafeb540a8876146a61e3a
name-lookup.c (pushdecl_maybe_friend_1): Use nonlambda_method_basetype and current_nonlambda_class_type.

* name-lookup.c (pushdecl_maybe_friend_1): Use
nonlambda_method_basetype and current_nonlambda_class_type.

From-SVN: r197210
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-shadow2.C [new file with mode: 0644]