How to ouput the AST of the instantiated function template

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

Not from the command line. In a debugger, you can of course dump() the instantiated declaration.

  - Doug