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-04-20 23:15:02 +02:00
2019-09-24 09:00:45 +02:00
2019-07-29 17:47:46 +02:00
2019-08-22 00:05:11 +09:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-04-22 21:57:06 +02:00
2019-04-22 21:57:06 +02:00
2018-09-12 09:52:22 +02:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-02-16 04:00:19 +01:00
2019-02-16 04:00:19 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2018-09-15 14:45:54 +02:00
2019-01-01 12:58:10 +01:00
2019-02-12 13:34:25 +01:00
2019-01-07 17:34:44 +00:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-02-17 13:38:52 +01:00
2019-01-01 12:58:10 +01:00
2019-07-29 17:32:54 +02:00
2019-01-01 12:58:10 +01:00
2019-03-01 16:01:44 -03:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-07-29 17:32:54 +02:00
2019-02-12 13:34:25 +01:00
2019-01-01 12:58:10 +01:00
2019-02-12 13:34:25 +01:00
2019-03-07 12:16:20 -03:00
2019-03-07 12:16:20 -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-02-12 13:34:25 +01:00
2018-07-28 18:13:48 +02:00
2019-07-29 17:47:46 +02:00
2019-01-14 11:24:00 -03:00
2019-01-14 11:00:05 -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-02-12 13:34:25 +01:00
2019-01-01 12:58:10 +01:00
2019-07-29 16:35:23 +02:00
2019-02-21 20:49:42 -03:00
2019-01-01 12:58:10 +01:00
2019-04-20 23:15:02 +02:00
2019-01-01 12:58:10 +01:00
2019-01-30 06:43:56 +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-12 13:34:25 +01:00
2019-02-12 13:34:25 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-04-20 23:15: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-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-02-12 13:34:25 +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-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 17:12:19 -03:00
2019-02-23 12:09:35 -03:00
2019-03-09 00:47:27 -03:00
2019-04-03 17:01:04 +02:00
2019-01-03 22:35:20 -02:00
2019-01-01 12:58:10 +01:00
2019-07-29 17:47:46 +02:00
2019-01-01 12:58:10 +01:00
2019-02-12 13:34:25 +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-12 13:34:25 +01:00
2019-02-12 13:34:25 +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-09-24 09:00:45 +02:00
2019-04-20 20:02:45 +02:00
2019-03-06 10:22:38 -03:00
2019-03-03 17:57:16 -03:00
2019-09-24 09:00:44 +02:00
2019-04-20 22:04:25 +02:00
2019-07-29 15:16:59 +02:00
2019-03-03 13:30:43 +01:00
2019-09-24 09:00:44 +02:00
2019-01-01 12:58:10 +01:00
2019-01-30 06:43:56 +01:00
2019-02-20 11:14:22 +00:00
2019-02-12 13:34:25 +01:00
2019-02-17 13:38:52 +01:00
2019-04-20 20:13:07 +02:00
2019-04-20 20:13:07 +02:00