aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2010-03-23 18:29:53 -0400
committerJason Merrill <jason@gcc.gnu.org>2010-03-23 18:29:53 -0400
commitc6be04ad9295b94d2b296e4eabcbe0f1e9744a17 (patch)
treefdde8455ca7ffe4a47159148d311a462aca7e170 /gcc/expr.c
parent5b5cfcb3b8177ebe2bf56ef1501b64a054080515 (diff)
downloadgcc-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