[cfe-dev] How to ouput the AST of the instantiated function template

Xiaolong Tang xiaolong.snake at gmail.com
Fri Jul 8 08:38:31 PDT 2011


Hi all, 

I am interested to check the AST of the instantiated template
function. Is there a way to do so? 


The command  "clang++ -cc1 XX.cpp -ast-print" only outputs the AST of
the source language. 

The command "clang++ -emit-ast ..." does not work either. 

Best, 

Xiaolong  



More information about the cfe-dev mailing list