[cfe-dev] Best way to get SourceLocation of a Declarator?

Nico Weber nicolasweber at gmx.de
Fri Aug 29 06:36:11 PDT 2008


>> While that's certainly useful in general, it doesn't help here,
>> because there are no AST nodes when ActOnDeclarator() is called (it's
>> part of the parser interface). But it's not a big deal for me, I was
>> just wondering.
>>
>
> Sure. I thought you were fiddling with ActOnDeclarator() because the  
> AST nodes didn't provide the info you needed.
>
> Is this not the case?

No, I'm fiddling with ActOnDeclarator just for the heck of it, to  
understand how clang's parts interact ( http://amnoid.de/tmp/clangtut/tut.html 
  :-P -- obviously far from done).

Nico



More information about the cfe-dev mailing list