On Feb 4, 2009, at 1:41 PM, Daniel Dunbar wrote: > 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?
I'm asking about relative files with -include and no -I. > Giving predefines a source location would make debug info generation a things from the predefine buffer do have a SourceLocation, just no FileEntry. This shouldn't impact anything other than file lookup in the preprocessor. -Chris _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
