Re: [C++ Patch] Improve build_x_unary_op locations

2019-10-29 Thread Jason Merrill
On 10/22/19 2:52 PM, Marek Polacek wrote: On Tue, Oct 22, 2019 at 08:48:30PM +0200, Paolo Carlini wrote: Hi, at the moment I'm going through more typeck.c and typeck2.c functions: the below are some straightforward changes for build_x_unary_op (fwiw, the resulting locations are also consistent

Re: [C++ Patch] Improve build_x_unary_op locations

2019-10-22 Thread Marek Polacek
On Tue, Oct 22, 2019 at 08:48:30PM +0200, Paolo Carlini wrote: > Hi, > > at the moment I'm going through more typeck.c and typeck2.c functions: the > below are some straightforward changes for build_x_unary_op (fwiw, the > resulting locations are also consistent with clang) > > Tested x86_64-linu

[C++ Patch] Improve build_x_unary_op locations

2019-10-22 Thread Paolo Carlini
Hi, at the moment I'm going through more typeck.c and typeck2.c functions: the below are some straightforward changes for build_x_unary_op (fwiw, the resulting locations are also consistent with clang) Tested x86_64-linux. Thanks, Paolo. /cp 2019-10-22 Paolo C