<div dir="ltr">No, AST is built by Sema.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 2, 2015 at 12:56 PM, Saswat Padhi <span dir="ltr"><<a href="mailto:padhi@cs.ucla.edu" target="_blank">padhi@cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I am new to Clang and am trying to create a plugin for Clang.<br>
At some point, I have a C (boolean) expression and I want to extract the AST for the expression.<br>
Is there a way I could use call the parser to give me the AST (without worrying about types / semantics)?<br>
<br>
Thanks,<br>
Saswat<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>