re PR c++/53619 ([C++11] wrong capture of "this" in lambda in case of multiple inheri...
authorJason Merrill <jason@redhat.com>
Tue, 3 Jul 2012 05:03:34 +0000 (01:03 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 3 Jul 2012 05:03:34 +0000 (01:03 -0400)
commite0e1b357435272f8906e8fd70d92c7862e1bc07b
treeb32f464c8a8a5c7cfc0c717a1c38fee7740263bf
parent39fa0adb69ef147f872fefe2ef44aed9c6155b9c
re PR c++/53619 ([C++11] wrong capture of "this" in lambda in case of multiple inheritance)

PR c++/53619
* pt.c (in_template_function): New.
* cp-tree.h: Declare it.
* class.c (build_base_path, resolves_to_fixed_type_p): Use it.

From-SVN: r189191
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this5.C [new file with mode: 0644]