This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ Patch] A few additional location improvements to grokdeclarator and check_tag_decl


Hi,

On 08/07/19 23:44, Jason Merrill wrote:
On 6/23/19 7:58 AM, Paolo Carlini wrote:
+    error_at (smallest_type_location (get_type_quals (declspecs),
+                      declspecs->locations),
How about adding a smallest_type_location overload that just takes declspecs?

Sure. The below has an additional location fixlet which I noticed over the last days, for "complex invalid for". Tested x86_64-linux, as usual.

Thanks, Paolo.

////////////////

Attachment: CL_locs_37_3
Description: Text document

Attachment: patch_locs_37_3
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]