lkml.org 
[lkml]   [2020]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 000/141] Fix fall-through warnings for Clang
    From
    Date
    On Fri, 2020-11-20 at 12:21 -0600, Gustavo A. R. Silva wrote:
    > Hi all,
    >
    > This series aims to fix almost all remaining fall-through warnings in
    > order to enable -Wimplicit-fallthrough for Clang.
    >
    > In preparation to enable -Wimplicit-fallthrough for Clang, explicitly
    > add multiple break/goto/return/fallthrough statements instead of just
    > letting the code fall through to the next case.
    >
    > Notice that in order to enable -Wimplicit-fallthrough for Clang, this
    > change[1] is meant to be reverted at some point. So, this patch helps
    > to move in that direction.

    This was a bit hard to parse for a second or three.

    Thanks Gustavo.

    How was this change done?


    \
     
     \ /
      Last update: 2020-11-20 19:32    [W:4.150 / U:0.360 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site