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

Miguel Aguilar miguel.aguilar at ice.rwth-aachen.de
Fri Jan 18 04:22:28 PST 2013


Hi Dimitri,

Thanks for the clarification. Anyway I added more include paths to the 
command line in the frontend mode (-cc1) and now I see the output almost 
as expect with the -ast-print option. Still the printf function is not 
there.

Miguel

On 01/18/2013 12:08 PM, Dmitri Gribenko wrote:
> 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
>




More information about the cfe-dev mailing list