]> gcc.gnu.org Git - gcc.git/commit
re PR c++/43856 ([C++0x] gcc-4.5.0 fails to transform id-expression into class member...
authorJason Merrill <jason@redhat.com>
Tue, 27 Apr 2010 21:26:25 +0000 (17:26 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 27 Apr 2010 21:26:25 +0000 (17:26 -0400)
commita684685337dc14afc172c7e2172b40d65dd4fa7b
tree29e991f81e1c25904d490958f6de0701b19fd4a6
parent16de17aec71ab79c098ce82ac091f447f272834c
re PR c++/43856 ([C++0x] gcc-4.5.0 fails to transform id-expression into class member access in lambda compound-statement)

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.

From-SVN: r158807
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/name-lookup.c
gcc/cp/semantics.c
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this2.C [new file with mode: 0644]
This page took 0.057824 seconds and 5 git commands to generate.