Re: [C++ Patch] Fix some locations

2018-06-04 Thread Paolo Carlini
Hi, On 01/06/2018, 23:29, Jason Merrill wrote: On Fri, Jun 1, 2018 at 5:03 PM, Paolo Carlini wrote: while working on some bugs I noticed that in a few places in decl.c we could do better in terms of locations within the current infrastructure, some simple, straightforward improvements. I'm att

Re: [C++ Patch] Fix some locations

2018-06-01 Thread Jason Merrill
On Fri, Jun 1, 2018 at 5:03 PM, Paolo Carlini wrote: > while working on some bugs I noticed that in a few places in decl.c we could > do better in terms of locations within the current infrastructure, some > simple, straightforward improvements. I'm attaching below a tiny first > patch, more to fo

[C++ Patch] Fix some locations

2018-06-01 Thread Paolo Carlini
Hi, while working on some bugs I noticed that in a few places in decl.c we could do better in terms of locations within the current infrastructure, some simple, straightforward improvements. I'm attaching below a tiny first patch, more to follow, I hope. For example, a function which could b