Commit bed8a1e4 by Nathan Sidwell Committed by Nathan Sidwell

call.c (convert_arg_to_ellipsis): Correct comment about passing by reference.

	* call.c (convert_arg_to_ellipsis): Correct comment about passing
	by reference.

From-SVN: r253410
parent 6069fe72
2017-10-04 Nathan Sidwell <nathan@acm.org>
* call.c (convert_arg_to_ellipsis): Correct comment about passing
by reference.
2017-10-02 Richard Sandiford <richard.sandiford@linaro.org> 2017-10-02 Richard Sandiford <richard.sandiford@linaro.org>
* constexpr.c (cxx_eval_store_expression): Use wi::to_widest * constexpr.c (cxx_eval_store_expression): Use wi::to_widest
......
...@@ -7178,8 +7178,9 @@ convert_arg_to_ellipsis (tree arg, tsubst_flags_t complain) ...@@ -7178,8 +7178,9 @@ convert_arg_to_ellipsis (tree arg, tsubst_flags_t complain)
with no corresponding parameter is conditionally-supported, with with no corresponding parameter is conditionally-supported, with
implementation-defined semantics. implementation-defined semantics.
We support it as pass-by-invisible-reference, just like a normal We support it as pass-by-invisible-reference to the caller's
value parameter. object. That's different to named by-value parameters, which
construct a copy and pass a reference to that.
If the call appears in the context of a sizeof expression, If the call appears in the context of a sizeof expression,
it is not potentially-evaluated. */ it is not potentially-evaluated. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment