[cfe-commits] Note and FixIt for additional case of vexing parse

Richard Smith richard at metafoo.co.uk
Mon Jul 30 14:31:35 PDT 2012


Committed as r160998. Thanks for your work and persistence on this!

I made two small changes before commit:

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.

2) I switched some of the checks in warnAboutAmbiguousFunction to use an
early exit to reduce indentation.

On Mon, Jul 30, 2012 at 1:21 PM, Nikola Smiljanic <popizdeh at gmail.com>wrote:

> Ping.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120730/ae5f1bdc/attachment.html>


More information about the cfe-commits mailing list