diff options
author | Jason Merrill <jason@redhat.com> | 2010-03-23 18:29:53 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2010-03-23 18:29:53 -0400 |
commit | c6be04ad9295b94d2b296e4eabcbe0f1e9744a17 (patch) | |
tree | fdde8455ca7ffe4a47159148d311a462aca7e170 /gcc/expr.c | |
parent | 5b5cfcb3b8177ebe2bf56ef1501b64a054080515 (diff) | |
download | gcc-c6be04ad9295b94d2b296e4eabcbe0f1e9744a17.zip gcc-c6be04ad9295b94d2b296e4eabcbe0f1e9744a17.tar.gz gcc-c6be04ad9295b94d2b296e4eabcbe0f1e9744a17.tar.bz2 |
Make lambda conversion op and op() non-static.
* semantics.c (maybe_add_lambda_conv_op): Make non-static.
Also add the thunk function returned by the conversion op.
Mark the conversion deleted if the op() is variadic.
* decl2.c (mark_used): Give helpful message about deleted conversion.
* parser.c (cp_parser_lambda_declarator_opt): Don't make op() static.
* semantics.c (finish_this_expr): Adjust.
* mangle.c (write_closure_type_name): Adjust.
* decl.c (grok_op_properties): Don't allow it.
* call.c (build_user_type_conversion_1): No static conversion ops.
(build_op_call): Or op().
* decl2.c (change_return_type): Fix 'this' quals.
From-SVN: r157681
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions