[cfe-dev] [LLVMdev] Looking for C Parser

Nikola Smiljanic popizdeh at gmail.com
Tue Feb 28 00:40:12 PST 2012

On Wed, Feb 22, 2012 at 12:09 AM, Perry Smith <pedzsan at gmail.com> wrote:
> I got clang working.  I put it on my Mac.  I see the -S option and I see that -emit-ast spews out some binary stuff.  I've also found a page describing how to read it back in but I'm assuming that somewhere is a utility to pretty print the AST (or perhaps it is built right into clang).
try clang -cc1 main.c -ast-dump

More information about the cfe-dev mailing list