<div class="gmail_extra"><div class="gmail_quote">On Thu, Jul 26, 2012 at 5:38 PM, Douglas Gregor <span dir="ltr"><<a href="mailto:dgregor@apple.com" target="_blank">dgregor@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">> Ok, sounds good. With that I don't have any nits on the change any<br>
> more - ready to go in?<br>
<br>
</div>Go for it!<br>
<br>
- Doug<br>
</blockquote></div><br>Committed as r<span style="font-family:arial,sans-serif;font-size:13px">160784.</span></div><div class="gmail_extra"><font face="arial, sans-serif"><br></font></div><div class="gmail_extra"><font face="arial, sans-serif">Now I have one more option to make </font><font face="courier new, monospace">-ast-dump-filter</font><font face="arial, sans-serif"> easier to use: </font><font face="courier new, monospace">-ast-list</font><font face="arial, sans-serif">. It outputs the list of what </font><font face="courier new, monospace">-ast-dump-filter</font><font face="arial, sans-serif"> filters on, e.g. for the following </font><font face="courier new, monospace">test.cpp</font><font face="arial, sans-serif">:</font></div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_extra"><span style="font-family:'courier new',monospace">namespace TheNamespace {</span></div><div class="gmail_extra"><div class="gmail_extra">
<font face="courier new, monospace">class TheClass {</font></div></div><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace"> public:</font></div></div><div class="gmail_extra"><div class="gmail_extra">
<font face="courier new, monospace"> int theMethod(int x) { return x + x; }</font></div></div><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace">};</font></div></div><div class="gmail_extra">
<div class="gmail_extra"><font face="courier new, monospace">}</font></div></div></blockquote><div class="gmail_extra"><div style="font-family:arial,sans-serif"><br></div></div><div class="gmail_extra"><font face="courier new, monospace"><b>clang -cc1 -ast-list</b></font><font face="arial, sans-serif"> will output:</font></div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace">__int128_t</font></div></div><div class="gmail_extra"><div class="gmail_extra">
<font face="courier new, monospace">__uint128_t</font></div></div><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace">__builtin_va_list</font></div></div><div class="gmail_extra"><div class="gmail_extra">
<font face="courier new, monospace">TheNamespace</font></div></div><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace">TheNamespace::TheClass</font></div></div><div class="gmail_extra"><div class="gmail_extra">
<font face="courier new, monospace">TheNamespace::TheClass::theMethod</font></div></div><div class="gmail_extra"><div class="gmail_extra"><font face="courier new, monospace">x</font></div></div></blockquote><div class="gmail_extra">
<div style="font-family:arial,sans-serif"><br></div>-- <br>
</div><div class="gmail_extra">Best regards,</div><div class="gmail_extra">Alexander Kornienko</div>