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: 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/



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