Re: [C++ Patch] Improve build_functional_cast locations

2019-12-04 Thread Jason Merrill
On 12/4/19 11:44 AM, Paolo Carlini wrote: Hi, this exemplifies in a compact way the kind of change we can implement for the other casts too: near the end of cp_parser_functional_cast instead of using the combined_loc only for the returned cp_expr we can also pass it to build_functional_cast.

[C++ Patch] Improve build_functional_cast locations

2019-12-04 Thread Paolo Carlini
Hi, this exemplifies in a compact way the kind of change we can implement for the other casts too: near the end of cp_parser_functional_cast instead of using the combined_loc only for the returned cp_expr we can also pass it to build_functional_cast. Tested x86_64-linux. Thanks, Paolo.