[cfe-dev] Pragma warning control

Chris Lattner clattner at apple.com
Mon Jan 12 11:35:46 PST 2009


On Jan 12, 2009, at 9:15 AM, Douglas Gregor wrote:
> On Jan 10, 2009, at 4:05 AM, Sebastian Redl wrote:
>>
> That said, Chris seems to have an idea about how to do this with
> SourceLocations, so I'd like to hear about that.

In my planned rewrite of source locations, SLoc's will get a  
hierarchical structure that can be walked.  It would be reasonably  
easy to add a "was instantiated from" level for each time a token was  
instantiated in a template.

-Chris




More information about the cfe-dev mailing list