[cfe-dev] Clang tutorial

Simone Pellegrini spellegrini at dps.uibk.ac.at
Wed May 20 00:41:27 PDT 2009


Hi everyone,
is there any clang tutorial which explain how to embed the parser into 
another C/C++ program?

I started with this: http://amnoid.de/tmp/clangtut/tut.html

but with the new build of Clang my program doesn't work anymore because 
it cannot no longer parse some headers!

I guess the best option is to have a look to clang-cc.cpp but it's 
rather huge, is there any stripped version?

thanks, Simone



More information about the cfe-dev mailing list