[cfe-dev] Missing statements in the Clang print AST

Dmitri Gribenko gribozavr at gmail.com
Fri Jan 18 03:08:26 PST 2013


On Fri, Jan 18, 2013 at 1:03 PM, Miguel Aguilar
<miguel.aguilar at ice.rwth-aachen.de> wrote:
> I think my mistake is that I was trying to have a look into the AST but the
> code is still not completely compiling due to errors while searching for
> headers. The standard c/c++ libraries are already set by default in clang or
> should I specify the paths to the system headers (e.g /usr/include ..)?

Please note that there is a difference between the driver and the
frontend.  It is described here:

http://clang.llvm.org/docs/FAQ.html#id2

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-dev mailing list