Rémi Verschelde
fc18d637a8
Fix -Wimplicit-fallthrough warnings from GCC 8
...
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.
The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.
Fixes #26135 .
(cherry picked from commit fc370b3feb )
2019-09-24 09:00:45 +02:00
..
2019-09-24 09:00:45 +02:00
2019-01-01 12:58:10 +01:00
2019-01-24 22:31:33 +01:00
2019-01-01 12:58:10 +01:00
2019-09-24 09:00:45 +02:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-02-10 14:18:08 -02:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-03-03 16:00:56 -03:00
2019-03-03 16:00:56 -03:00
2019-04-01 11:13:20 +02:00
2019-02-25 17:42:38 +02:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-03-05 10:12:06 -03:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-02-12 17:21:48 +01:00
2019-04-06 21:18:20 +02:00
2019-01-01 12:58:10 +01:00
2019-03-10 12:22:15 +02:00
2019-01-01 12:58:10 +01:00
2019-01-24 22:31:33 +01:00
2019-01-01 12:58:10 +01:00
2019-02-20 19:44:12 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-09-24 09:00:45 +02:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-02-12 17:21:48 +01:00
2019-01-24 22:31:33 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-02-11 08:52:09 -03:00
2019-02-11 08:52:09 -03:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-09-24 09:00:45 +02:00
2019-01-01 12:58:10 +01:00
2019-02-13 23:52:14 +09:00
2019-01-01 12:58:10 +01:00
2019-09-24 09:00:44 +02:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-09-24 09:00:45 +02:00
2019-02-22 00:23:05 +02:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-03-07 14:19:43 +01:00
2019-01-01 12:58:10 +01:00
2018-09-28 14:07:39 +02:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-02-22 10:12:39 -03:00
2019-01-01 12:58:10 +01:00
2019-01-24 22:31:33 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-09-24 09:00:45 +02:00
2019-04-03 17:01:04 +02:00
2019-04-01 11:14:34 +02:00
2019-02-12 17:21:48 +01:00
2019-02-19 08:28:32 +00:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-09-24 09:00:45 +02:00
2019-01-14 17:20:54 -03:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00