[PING][PATCH] New plugin event when evaluating a constexpr call
Jason Merrill
jason@redhat.com
Thu May 19 16:08:00 GMT 2016
On 05/06/2016 10:23 AM, Andres Tiraboschi wrote:
> +static tree
> +eval_call_plugin_callback (const constexpr_ctx *ctx, tree fun,
> + bool lval, bool *non_constant_p, bool *overflow_p)
This function needs a comment.
> -static void
> +void
> cxx_bind_parameters_in_call (const constexpr_ctx *ctx, tree t,
Why expose this function? If you want the reduced forms of the
arguments in your plugin, can't you call cxx_eval_constant_expression on
them directly?
Jason
More information about the Gcc-patches
mailing list