r158807 - in /trunk/gcc: cp/ChangeLog cp/class....
jason@gcc.gnu.org
jason@gcc.gnu.org
Tue Apr 27 21:26:00 GMT 2010
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
More information about the Gcc-cvs
mailing list