Ah... I see support for testing DeclPrinter arrived a few days ago with r162245. I'll attempt to update the patch accordingly!<div><br></div><div>- Will.<br><br><div class="gmail_quote">On 24 August 2012 18:58, Will Wilson <span dir="ltr"><<a href="mailto:will@indefiant.com" target="_blank">will@indefiant.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,
<div><br></div><div>A very minor one here, but potentially useful for those that run into it. Calling print() on an AccessSpecDecl currently results in nothing being printed. The attached patch rectifies this omission in DeclPrinter.cpp.</div>

<div><br></div><div>Note: AccessSpecDecl's printed as part of a CXXRecordDecl are printed as they're handled as a special case in DeclPrinter::VisitDeclContext() - probably due to the unusual indentation convention used by these declarations.</div>

<div><br></div><div>No test cases I'm afraid as I couldn't find an obvious way of adding one - unless I've missed something. Anyhow, the change should be safe enough.</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>- Will.</div>















</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><span style="background-color:rgb(255,255,255);color:rgb(68,68,68);font-family:Arial,Helvetica,sans-serif"><b>Indefiant Ltd.</b></span></div>
<div><font color="#444444" face="Arial, Helvetica, sans-serif"><span style="font-size:12px"><b><br></b></span></font></div><font color="#444444" face="Arial, Helvetica, sans-serif"><span style="font-size:12px">Firsby Lodge, New Main Road, Scamblesby, Louth, Lincs LN11 9XH UK<br>
</span></font><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;background-color:rgb(255,255,255)"><span style="color:rgb(68,68,68);font-family:Arial,Helvetica,sans-serif;font-size:x-small"><i>Tel: +44 20 8123 7663 England Registered No. 07936820 VAT No. </i></span><span style="background-color:transparent"><font color="#444444" face="Arial, Helvetica, sans-serif" size="1"><i>128556202</i></font></span></div>
<br>
</div>