[C++ Patch] Add default arguments to cp_parser_assignment_expression and cp_parser_constant_expression

Paolo Carlini paolo.carlini@oracle.com
Wed Sep 10 10:14:00 GMT 2014


Hi,

On 08/19/2014 02:18 PM, Paolo Carlini wrote:
> Hi,
>
> two more functions. Tested x86_64-linux.
I'm pinging this.

     https://gcc.gnu.org/ml/gcc-patches/2014-08/msg01853.html

Frankly, the cp_parser_constant_expression bits seem rather 
straightforward to me. As regards the cp_parser_assignment_expression 
bits, I realize that it's debatable whether moving the cp_id_kind * 
parameter before the bool parameters is really an improvement from say 
the readibility point of view, but I did that already for 
cp_parser_expression, in case we should revert the latter change, for 
consistency.

Paolo.



More information about the Gcc-patches mailing list