<div dir="ltr">On Thu, Jun 20, 2013 at 11:22 AM, Bin Tzeng <span dir="ltr"><<a href="mailto:bintzeng@gmail.com" target="_blank">bintzeng@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for the quick reply! Is there any discussion or plan to make it accurate (I might miss them) or it is left at the bottom of priority list?</div>
</blockquote><div><br></div><div>It's pretty low on the priority list, but we're happy to review patches.</div><div><br></div><div>-Eli</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">
On Thu, Jun 20, 2013 at 10:59 AM, Eli Friedman <span dir="ltr"><<a href="mailto:eli.friedman@gmail.com" target="_blank">eli.friedman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div><div>On Thu, Jun 20, 2013 at 10:43 AM, Bin Tzeng <span dir="ltr"><<a href="mailto:bintzeng@gmail.com" target="_blank">bintzeng@gmail.com</a>></span> wrote:<br></div></div><div class="gmail_extra">

<div class="gmail_quote"><div><div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi all,<br><br></div>I am not sure whether this is a bug or intended design. The following snippet:<br>


class junk {<br>  void foo(void);<br>};<br><br>void junk::foo(void) {}<br>void foo(void) {}<br>
<br></div>prints out the following ast with `clang -cc1 -ast-print`:<br><br>class junk {<br>    void foo();<br>};<br>void foo() {<br>}<br><br><br>void foo() {<br>}<br><br></div>The class name and its scope resolution operator is missing in the printed ast for the first method foo. If it is indented, can anybody shed some light? Thanks!<span><font color="#888888"><br>



</font></span></div></div><div><br></div></div></blockquote><div><br></div></div></div><div>If you see a problem with AST printing, it's probably a bug; nobody has really put in a concerted effort to make AST printing round-trip accurately.</div>

<span><font color="#888888">
<div><br></div><div>-Eli</div></font></span></div></div></div>
</blockquote></div></div></div></div></blockquote></div><br></div></div>