Zack Weinberg wrote:
I think this should go in cp_parser_initializer_list instead of
cp_parser_initializer_clause. It seems to be the convention that the
callers of cp_parser_initializer_clause are responsible for default-
clearing this flag.
That is not what the start-of-function comments say. In front of
cp_parser_initializer_clause
they say: NON_CONSTANT_P is as for cp_parser_initializer.
And in front of cp_parser_initializer, they say:
If there is an
initializer, and it is not a constant-expression, *NON_CONSTANT_P
is set to true; otherwise it is set to false.