[lkml]   [2019]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 3/4] Documentation/process: Add fallthrough pseudo-keyword
On Sat, Oct 5, 2019 at 10:48 AM Miguel Ojeda
<> wrote:
> On Sat, Oct 5, 2019 at 6:47 PM Joe Perches <> wrote:
> >
> > +When the C17/C18 [[fallthrough]] syntax is more commonly supported by
> Note that C17/C18 does not have [[fallthrough]]. C++17 introduced it,
> as it is mentioned above. I would keep the
> __attribute__((fallthrough)) -> [[fallthrough]] change you did,
> though, since that is indeed the standard syntax (given the paragraph
> references C++17).
> I was told by Aaron Ballman (who is proposing them for C) that it is
> more or less likely that it becomes standardized in C2x. However, it
> is still not added to the draft (other attributes are already,
> though). See N2268 and N2269:
> (fallthrough)
> (attributes in general)

Interesting. I think those links might be useful to include, or drop
the section on C++ style attributes outright. Either way:
Acked-by: Nick Desaulniers <>

~Nick Desaulniers

 \ /
  Last update: 2019-10-09 23:53    [W:0.055 / U:1.372 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site