RESOLVED FIXED 174555
Implement FALLTHROUGH attribute for C with GCC
https://bugs.webkit.org/show_bug.cgi?id=174555
Summary Implement FALLTHROUGH attribute for C with GCC
Michael Catanzaro
Reported 2017-07-15 20:01:16 PDT
My attempt to silence the JSC -Wimplicit-fallthrough warnings in bug #174463 failed because they are coming from a C file, and our FALLTHROUGH macro is only implemented for C++. This is only possible to do for GCC, because Clang only supports this attribute using the [[C++ attribute syntax]].
Attachments
Patch (1.52 KB, patch)
2017-07-15 20:15 PDT, Michael Catanzaro
no flags
Patch (1.55 KB, patch)
2017-07-23 07:49 PDT, Michael Catanzaro
no flags
Michael Catanzaro
Comment 1 2017-07-15 20:15:41 PDT
Michael Catanzaro
Comment 2 2017-07-23 07:49:28 PDT
WebKit Commit Bot
Comment 3 2017-07-23 14:01:31 PDT
Comment on attachment 316228 [details] Patch Clearing flags on attachment: 316228 Committed r219791: <http://trac.webkit.org/changeset/219791>
WebKit Commit Bot
Comment 4 2017-07-23 14:01:33 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.