parser.c
758 KB
-
re PR c++/49172 ([C++0x][constexpr] References should be declarable with constexpr) · da7d9218
PR c++/49172 * decl.c (cp_finish_decl): Adjust init_const_expr_p for refs. (grokdeclarator): constexpr doesn't apply const for refs. * parser.c (cp_parser_initializer_clause): Don't call maybe_constant_value here. * call.c (initialize_reference): Handle constexpr. From-SVN: r175284
Jason Merrill committed