Committed as r160998. Thanks for your work and persistence on this!<div><br></div><div>I made two small changes before commit:</div><div><br></div><div>1) I ran the patch over a large body of code, and found that the 'T (*p)(...);' form is almost always a correct function pointer declaration, rather than being intended to be an initialized variable declaration, so I disabled the warning in that case.</div>
<div><br></div><div>2) I switched some of the checks in warnAboutAmbiguousFunction to use an early exit to reduce indentation.<br><br><div class="gmail_quote">On Mon, Jul 30, 2012 at 1:21 PM, Nikola Smiljanic <span dir="ltr"><<a href="mailto:popizdeh@gmail.com" target="_blank">popizdeh@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ping.<br>
</blockquote></div><br></div>