This is the mail archive of the
mailing list for the GCC project.
Re: PATCH to use cpplib's source_location for location_t
Per Bothner <email@example.com> writes:
> Here is the updated patch, incorporating some of RTH's suggestions.
> I looked at the various places that LOCATION_LINE and LOCATION_FILE
> are directly and indirectly called, and improved many of them.
> This allowed me to redefined those macros as wrappers for
Considering that there is already DECL_BUILT_IN, I think
DECL_IS_BUILTIN is a bad name for that macro. The instances in the C
front end are all kludges intended to go away when someone fixes
Objective C not to generate fake non-builtin declarations with line
number 0 anymore; I don't know about the others.