Re: [C++ Patch] Improve check_for_bare_parameter_packs location

2016-05-23 Thread Jason Merrill
On 05/22/2016 11:28 AM, Paolo Carlini wrote: + location_t loc = EXPR_LOC_OR_LOC (t, input_location); Hmm, we can get types here as well, but I guess that works fine. OK. Jason

[C++ Patch] Improve check_for_bare_parameter_packs location

2016-05-22 Thread Paolo Carlini
Hi, I'm finally completing a candidate fix for c++/69095 and I noticed that in order to get function parameters (not just template parameters, as originally reported) right it's important that the location used by check_for_bare_parameter_packs is (more) accurate. But the below seems