Re: [C++ Patch] Locations related grokdeclarator tweak

2019-01-21 Thread Paolo Carlini
Hi, On 21/01/19 18:22, Jason Merrill wrote: On 1/18/19 6:13 AM, Paolo Carlini wrote: a tweak to typespec_loc, where the existing conditional turns out to be just a special case of the full min_location that we want in order to do the right thing for testcases like diagnostic/trailing1.C. Test

Re: [C++ Patch] Locations related grokdeclarator tweak

2019-01-21 Thread Jason Merrill
On 1/18/19 6:13 AM, Paolo Carlini wrote: a tweak to typespec_loc, where the existing conditional turns out to be just a special case of the full min_location that we want in order to do the right thing for testcases like diagnostic/trailing1.C. Tested x86_64-linux. This is OK, but I don't thi

[C++ Patch] Locations related grokdeclarator tweak

2019-01-18 Thread Paolo Carlini
Hi, a tweak to typespec_loc, where the existing conditional turns out to be just a special case of the full min_location that we want in order to do the right thing for testcases like diagnostic/trailing1.C. Tested x86_64-linux. Thanks, Paolo. // /cp 2018-01-18 Paolo C