Re: [C++ Patch] Use declspecs->locations more in grokdeclarator (and grokvardecl)

2018-06-22 Thread Jason Merrill
OK. On Fri, Jun 22, 2018 at 1:18 PM, Paolo Carlini wrote: > Hi, > > this rather straightforward patch simply uses available location information > - in the form of declspecs->locations - in diagnostic messages. In order to > do that, the information is also propagated to bad_specifiers and > mark

[C++ Patch] Use declspecs->locations more in grokdeclarator (and grokvardecl)

2018-06-22 Thread Paolo Carlini
Hi, this rather straightforward patch simply uses available location information - in the form of declspecs->locations - in diagnostic messages. In order to do that, the information is also propagated to bad_specifiers and mark_inline_variable. Tested x86_64-linux. Thanks, Paolo. //