[cfe-dev] Getting AST for an expression

Saswat Padhi padhi at cs.ucla.edu
Fri May 1 19:56:26 PDT 2015

Hi all,

I am new to Clang and am trying to create a plugin for Clang.
At some point, I have a C (boolean) expression and I want to extract the AST for the expression.
Is there a way I could use call the parser to give me the AST (without worrying about types / semantics)?


More information about the cfe-dev mailing list