Fix lambdas in template default argument of inherited ctor.
commit2ffc5005c731f93eb8e87e84b075cde0854c44c8
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Aug 2017 19:40:41 +0000 (29 19:40 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Aug 2017 19:40:41 +0000 (29 19:40 +0000)
tree56846a8b93ef1c41a69cffc87d9b92ea5838a49b
parent5164d9e94ea19d81ff895f353f37d982ebfc699e
Fix lambdas in template default argument of inherited ctor.

* method.c (synthesized_method_base_walk): Replace an inherited
template with its specialization.
(synthesized_method_walk): Make inheriting_ctor a pointer.
(maybe_explain_implicit_delete, explain_implicit_non_constexpr)
(deduce_inheriting_ctor, implicitly_declare_fn): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251426 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-mangle5.C [new file with mode: 0644]