[cfe-commits] Note and FixIt for additional case of vexing parse
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits