[C++ Patch] Use declarator->id_loc in three additional places

Jason Merrill jason@redhat.com
Tue Jun 4 14:50:00 GMT 2019


On 6/4/19 10:31 AM, Paolo Carlini wrote:
> +	      permerror (loc, "member functions are implicitly "
> +			 "friends of their class");

Wouldn't it be better to use the location of "friend" in this diagnostic?

The rest of the patch is OK.

Jason



More information about the Gcc-patches mailing list