[PATCH 05/11] Make expand_location resolve to locus in main source file

Jason Merrill jason@redhat.com
Sun Apr 29 04:11:00 GMT 2012


On 04/25/2012 11:31 AM, Dodji Seketeli wrote:
> +#define EXPANSION_POINT_LOCATION_FILE(LOC)		\
> +  ((expand_location_to_expansion_point (LOC)).file)
> +#define EXPANSION_POINT_LOCATION_LINE(LOC)		\
> +  ((expand_location_to_expansion_point (LOC)).line)
> +#define EXPANSION_POINT_LOCATION_COLUMN(LOC)		\
> +  ((expand_location_to_expansion_point (LOC)).column)

These macros don't seem to be used anywhere.  The rest of the patch is OK.

Jason



More information about the Gcc-patches mailing list