[cfe-dev] clang AST printer

Philip Craig philipjcraig at gmail.com
Fri Sep 21 03:34:25 PDT 2012


On Fri, Sep 21, 2012 at 7:55 PM, Jacob Carlborg <doob at me.com> wrote:
> On 2012-09-21 01:17, Philip Craig wrote:
>>
>> Hi,
>>
>> I've been writing a tool to print a clang AST. You can find it at
>> https://github.com/philipc/clang-ast. I've been mostly writing this as
>> a learning exercise, but I would like to see if there is any wider
>> interest in the tool.
>
>
> I think this can be useful, in particular to explore Clang and see what data
> it's possible to get out of the AST. BTW, does it handle Objective-C?

I haven't tested it, but in theory it should. I haven't put in any
effort to display information needed for Objective-C specific nodes
either though. The tool is still very incomplete.



More information about the cfe-dev mailing list