Re: [C++ Patch] Improve grokbitfield location

2019-01-14 Thread Jason Merrill
On 1/13/19 6:21 PM, Paolo Carlini wrote: Hi, today I realized that if we move further up the "famous" location_t loc declaration in grokdeclarator we can often pass a precise location when building TYPE_DECLs for typedef names too, thus, in particular, profitably use DECL_SOURCE_LOCATION in a

[C++ Patch] Improve grokbitfield location

2019-01-13 Thread Paolo Carlini
Hi, today I realized that if we move further up the "famous" location_t loc declaration in grokdeclarator we can often pass a precise location when building TYPE_DECLs for typedef names too, thus, in particular, profitably use DECL_SOURCE_LOCATION in a grokbitfield error and also enabling fur