[cfe-dev] Getting AST for an expression

Nikola Smiljanic popizdeh at gmail.com
Sat May 2 04:50:51 PDT 2015

No, AST is built by Sema.

On Sat, May 2, 2015 at 12:56 PM, Saswat Padhi <padhi at cs.ucla.edu> wrote:

> 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)?
> Thanks,
> Saswat
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150502/e71869fa/attachment.html>

More information about the cfe-dev mailing list