[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <81bad451e9ffee6990ffc3571bc7b558c1c26bb3.camel@perches.com>
Date: Thu, 12 Mar 2020 03:19:57 -0700
From: Joe Perches <joe@...ches.com>
To: Russell King - ARM Linux admin <linux@...linux.org.uk>
Cc: "James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-scsi@...r.kernel.org
Subject: Re: [PATCH -next 006/491] ARM/RISCPC ARCHITECTURE: Use fallthrough;
On Thu, 2020-03-12 at 10:11 +0000, Russell King - ARM Linux admin wrote:
> On Tue, Mar 10, 2020 at 09:51:20PM -0700, Joe Perches wrote:
> > Convert the various uses of fallthrough comments to fallthrough;
>
> And the point of what on the face of it seems to be useless churn is?
>
> What compilers support this?
gcc 7.1, clang 9
clang does not support the /* fallthrough */ comment styles.
clang does support the __attribute__((__fallthrough__))
and the c++17 [[fallthrough]] weirdness.
see:
commit 294f69e662d1 ("compiler_attributes.h: Add 'fallthrough' pseudo
keyword for switch/case use")
Powered by blists - more mailing lists