<html><head></head><body bgcolor="#FFFFFF"><div>Hi, <br><br>Apologize in advance for duplicates but I just found out about this list and I thought for the current  question this list would be more related. If I am mistaken please let me know. Thank you.</div><div><div>--</div><div>Carlos Andrade</div><div><a href="http://carlosandrade.co">http://carlosandrade.co</a></div><div><br></div>Sent from my iPad<div><br></div><div><br></div></div><div><br>Begin forwarded message:<br><br></div><blockquote type="cite"><div><b>From:</b> Carlos Andrade <<a href="mailto:carlosviansi@gmail.com">carlosviansi@gmail.com</a>><br><b>Date:</b> June 11, 2012 2:18:42 PM PDT<br><b>To:</b> "<a href="mailto:llvmdev@cs.uiuc.edu">llvmdev@cs.uiuc.edu</a>" <<a href="mailto:llvmdev@cs.uiuc.edu">llvmdev@cs.uiuc.edu</a>><br><b>Subject:</b> <b>Is it possible to generate a Clang annotated AST?</b><br><br></div></blockquote><div></div><blockquote type="cite"><div><span>Hi, using the current version from the repository on Debug+Asserts mode I was able to generate Clangs AST on Gnu gv, however I noticed the tree provides no annotation to which part each statement it is referring to. For example, when it says binary operator I would like to know to which binary operator is it referring to. Is this possible with clang? I am using the ast-view option from cc1.  </span><br><span></span><br><span>As a side note I noticed that the XML version of the ast does keep the annotation of the code names but I don't know about any tools that could take that as input or another of Clangs output to generate the tree.</span><br><span></span><br><span>Thank again in advance,</span><br><span></span><br><span>--</span><br><span>Carlos Andrade</span><br><span><a href="http://carlosandrade.co">http://carlosandrade.co</a></span><br><span></span><br><span>Sent from my iPad</span><br><span></span><br><span></span><br></div></blockquote></body></html>