This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r158807 - in /trunk/gcc: cp/ChangeLog cp/class....
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 27 Apr 2010 21:26:26 -0000
- Subject: r158807 - in /trunk/gcc: cp/ChangeLog cp/class....
Author: jason
Date: Tue Apr 27 21:26:25 2010
New Revision: 158807
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158807
Log:
PR c++/43856
* name-lookup.c (qualify_lookup): Disqualify lambda op().
* class.c (current_nonlambda_class_type): New fn.
* semantics.c (nonlambda_method_basetype): New.
* cp-tree.h: Declare them.
* tree.c (maybe_dummy_object): Handle implicit 'this' capture.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/name-lookup.c
trunk/gcc/cp/semantics.c
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog