<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On May 4, 2013, at 19:26 , Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On Fri, May 3, 2013 at 8:07 PM, Joe Sprowes <<a href="mailto:sprowes@silkan.com">sprowes@silkan.com</a>> wrote:<br><blockquote type="cite">This patch allows suppression of implicit cast when pretty printing the AST.<br>For example:<br><br>i = a.operator int();<br></blockquote><br>I'd prefer not to add yet another flag to the printing policy.<br>Unfortunately, skipping printing conversion operators changes CFG dump<br>output, which I am not familiar with.<br><br>Jordan, could you please take a look at the attached patch?<br></div></blockquote><br></div><div>Yeah, thanks for the heads-up. Joe, we'd really prefer to have the CFG dump not skip any implicit statements, since it <i>is</i> a dump for debugging purposes. We are stretching the pretty-printer quite a bit for this, though.</div><br><div>This does keep coming up, so having a NeverSkipSubExpressions flag (or in the positive form MaySkipSubExpressions or SkipImplicitSubExpressions) just for the CFG dump would work fine. I don't have time to do this immediately, but it should be a pretty small amount of work, and would keep down future conflicts between CFG dumping and real pretty-printing.</div><div><br></div><div>Jordan</div></body></html>