This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: typedef fileline location_t
Carlo Wood wrote:
In my opinion, this looks best:
srcloc_t srcloc;
but, I fully agree that also that is not nice when not
done consistently for all types - and we don't.
Plus we shouldn't be using names that are reserved to Posix,
which srcloc_t is.
So perhaps you can consider to use 'source_location'
as type, reserving the shorter 'srcloc' to make variables
of said type readable.
source_location srcloc;
'source_location' is fine with me. Any other opinions?
--
--Per Bothner
per@bothner.com http://per.bothner.com/