On Wed, Feb 4, 2009 at 1:22 PM, Chris Lattner <[email protected]> wrote: >> Would it be terrible to give the predefines buffer a file entry, with >> the path being the current working directory? This would also allow >> things in the predefines buffer to have a valid source location... > > Is this something that is needed in practice for something important?
Are you referring to the relative location of the include, or giving predefines a source location? Giving predefines a source location would make debug info generation a little less fragile (for when things referring to something like the id typedef or the va_arg definition). I don't have a project off-hand that is breaking due to the -include handling, but it is quite easy to imagine that one would if srcdir != objdir and it ever used -include with a generated a .h file. - Daniel _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
