[cfe-commits] [PATCH] Implicit fall-through between switch labels

Richard Smith richard at metafoo.co.uk
Tue Apr 24 10:39:40 PDT 2012


On Tue, Apr 24, 2012 at 9:37 AM, Jordy Rose <jediknil at belkadan.com> wrote:

> And again I think the fixit (and perhaps the message) should use GCC
> __attribute__ syntax if we're not in C++11 mode.


GNU attributes can't be attached to statements. Do we want to diverge from
the GNU attribute spec (such as it is) for this? (I'm not saying no -- I
think having this outside C++11 would be awesome -- but this gives me
pause).

- Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120424/5f400cf3/attachment.html>


More information about the cfe-commits mailing list