[cfe-dev] Confused about SourceLocs
Chris Lattner
clattner at apple.com
Fri Feb 13 09:43:05 PST 2009
On Feb 13, 2009, at 9:32 AM, Roberto Bagnara wrote:
> Chris Lattner wrote:
>> On Sep 28, 2008, at 5:32 PM, Nico Weber wrote:
>>> Just out of curiosity: Does clang in any way store which macro
>>> calls which other macros?
>> No, not currently. I'm planning an eventual revamp of
>> SourceLocation that could capture this. Right now it doesn't
>> though.
>
> Hi there,
>
> what is the current situation with respect to this?
This is done now. Each token's SourceLocation retains the full macro
instantiation history of the token.
-Chris
More information about the cfe-dev
mailing list