<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 26, 2011, at 3:02 PM, <a href="mailto:dawn@burble.org">dawn@burble.org</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>Is there any reason why DeclPrinter::VisitFunctionDecl and <br>TypePrinter::printFunctionProto don't share the same code? I wanted to<br>be able to see a function decl's calling convention when dumping the ast<br>and found myself copying that code from printFunctionProto into<br>VisitFunctionDecl (yuk). The rest of the code looks more or less the<br>same.<br></div></blockquote></div><br><div>Most likely, they just evolved separately and nobody has contributed the fix to unify them.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- Doug</div></body></html>