https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87386

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Started with r255255

    C++: improve location of static_assert errors

    gcc/cp/ChangeLog:
            * parser.c (cp_parser_unary_expression): Generate a location for
            "noexcept".
            (cp_parser_trait_expr): Generate and return a location_t,
            converting the return type from tree to cp_expr.
            (cp_parser_static_assert): Pass location of the condition to
            finish_static_assert, rather than that of the "static_assert"
            token, where available.

Reply via email to