<div dir="ltr">Maybe you want to try -ast-dump-xml. This gives a structure-like output.<br><br><div class="gmail_quote">On 19 May 2011 22:05, hunter <span dir="ltr"><<a href="mailto:god.son2046@yahoo.com.cn">god.son2046@yahoo.com.cn</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks. Do you refer to -ast-print?<br>
<br>
Also, is it implemented by Clang to generate a CFG from a given .ast file?<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://clang-developers.42468.n3.nabble.com/How-to-view-ast-file-tp2953991p2963202.html" target="_blank">http://clang-developers.42468.n3.nabble.com/How-to-view-ast-file-tp2953991p2963202.html</a><br>
</font><div><div></div><div class="h5">Sent from the Clang Developers mailing list archive at Nabble.com.<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br><br>WANG Zheng<br>
</div>