[C++ PATCH] Use protected_set_expr_location more
Jeff Law
law@redhat.com
Tue Oct 6 21:08:00 GMT 2015
On 10/06/2015 11:30 AM, Marek Polacek wrote:
> Similarly to what I've just done for the C FE, this makes the C++ FE
> use the protected_set_expr_location helper where applicable.
>
> Bootstrapped/regtested on x86_64-linux, ok for trunk?
>
> 2015-10-06 Marek Polacek <polacek@redhat.com>
>
> * cp-gimplify.c (genericize_if_stmt): Use protected_set_expr_location.
> (genericize_cp_loop): Likewise.
> * decl.c (cxx_maybe_build_cleanup): Likewise.
> * parser.c (cp_parser_binary_expression): Likewise.
> (cp_parser_omp_for_loop): Likewise.
> (cp_parser_omp_construct): Likewise.
> * semantics.c (finish_transaction_stmt): Likewise.
> (build_transaction_expr): Likewise.
OK.
jeff
More information about the Gcc-patches
mailing list