[PATCH] Disallow extern declarations of type void in C++ mode

Richard Smith richard at metafoo.co.uk
Tue May 28 13:10:27 PDT 2013


Please also add a test which uses extern rather than extern "C". Otherwise,
LGTM, thanks!

On Tue, May 28, 2013 at 1:05 PM, David Majnemer <david.majnemer at gmail.com>wrote:

> Attached is a patch that disallows 'extern void' in C++ mode per the
> discussion on cfe-dev.
>
> Fixes PR16167
>
> --
> David Majnemer
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130528/b02cf010/attachment.html>


More information about the cfe-commits mailing list