Re: [C++ Patch] Add location_t parameter to grokvardecl

2018-12-11 Thread Jason Merrill
On 12/10/18 5:23 AM, Paolo Carlini wrote: Hi, the other day I noticed that we weren't getting right the first location of pr53037-4.C, for a variable, whereas the next one, for a function, was Ok. Indeed, we were passing a location only to grokfndecl. In other terms, I found a good empirical

[C++ Patch] Add location_t parameter to grokvardecl

2018-12-10 Thread Paolo Carlini
Hi, the other day I noticed that we weren't getting right the first location of pr53037-4.C, for a variable, whereas the next one, for a function, was Ok. Indeed, we were passing a location only to grokfndecl. In other terms, I found a good empirical reason to move the declaration of the loca