<div dir="ltr"><div class="gmail_default" style>Dmitri,</div><div class="gmail_default" style><br></div><div class="gmail_default" style>I don't understand your reasons for removing this code.  It was specifically added so that template instantiations would be outputted with -ast-dump.  Why do you consider printing instantiations misleading?</div>
<div class="gmail_extra"><br></div><div class="gmail_extra" style>Richard.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 7, 2013 at 11:41 AM, Dmitri Gribenko <span dir="ltr"><<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello,<br>
<br>
The attached patch removes the 'PrintInstantiation' feature from<br>
DeclPrinter.  The motivation is that it does not actually belong to<br>
the DeclPrinter and causes '-ast-print' to produce misleading results<br>
(printing the code for implicit instantiations).<br>
<br>
@Richard: CC'ing you since you added this feature in r136306.<br>
<span class=""><font color="#888888"><br>
Dmitri<br>
<br>
--<br>
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if<br>
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>>*/<br>
</font></span></blockquote></div><br></div></div>