diff options
author | Adam Butcher <adam@jessamine.co.uk> | 2013-09-12 19:54:52 +0100 |
---|---|---|
committer | Adam Butcher <abutcher@gcc.gnu.org> | 2013-09-12 19:54:52 +0100 |
commit | c9469d539a89f1a488a743fdc45a06678dac0b2f (patch) | |
tree | c54b6a5dc08f5f58aea1692f3456b11ecaf8d3db /gcc/fortran/Make-lang.in | |
parent | 1c1880fcc6ca93f7ac589122448b605f4a3617af (diff) | |
download | gcc-c9469d539a89f1a488a743fdc45a06678dac0b2f.zip gcc-c9469d539a89f1a488a743fdc45a06678dac0b2f.tar.gz gcc-c9469d539a89f1a488a743fdc45a06678dac0b2f.tar.bz2 |
Support lambda templates.
* parser.c (cp_parser_lambda_declarator_opt): Accept template parameter
list with std=c++1y or std=gnu++1y.
(cp_parser_lambda_body): Don't call 'expand_or_defer_fn' for lambda call
operator template to avoid adding template result to symbol table.
* lambda.c (lambda_function): Return template result if call operator is
a template.
(maybe_add_lambda_conv_op): Move declarations to point of use. Refactor
operator call building in order to support conversion of a non-capturing
lambda template to a function pointer with help from ...
(prepare_op_call): ... this new function.
* decl2.c (check_member_template): Don't reject lambda call operator
template in local [lambda] class.
* pt.c (instantiate_class_template_1): Don't instantiate lambda call
operator template when instantiating lambda class.
From-SVN: r202539
Diffstat (limited to 'gcc/fortran/Make-lang.in')
0 files changed, 0 insertions, 0 deletions