Jacob Vosmaer
dca0519336
Clang: only use [[fallthrough]] in C++ files
...
It appears that [[fallthrough]] is valid in C++ but not in C. And
in some Clang versions (e.g. Clang 11 on macOS), Clang is pedantic
about this and considers it an error to use [[fallthrough]] in a
.c file such as src/util/format.c.
This changes makes gcc_fallthrough a no-op under Clang in C files.
2019-12-31 13:54:09 +01:00
..
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-12-28 17:18:41 +01:00
2017-07-05 10:26:39 +02:00
2017-09-13 10:34:12 +02:00
2018-08-02 10:42:28 +02:00
2018-08-20 13:45:41 +02:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2019-01-21 21:17:58 +01:00
2019-01-21 21:18:23 +01:00
2017-11-10 19:24:33 +01:00
2017-01-17 11:54:55 +01:00
2019-12-31 13:54:09 +01:00
2017-05-16 11:56:56 +02:00
2018-08-21 08:20:17 +02:00
2017-09-13 10:35:51 +02:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2017-01-17 11:54:55 +01:00
2018-12-28 17:06:01 +01:00
2018-08-21 08:20:52 +02:00
2018-08-21 08:20:52 +02:00
2018-08-20 15:21:05 +02:00
2019-12-23 17:53:57 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-07-26 17:46:56 +02:00
2018-07-26 17:46:56 +02:00
2017-12-16 20:56:06 +01:00
2017-12-16 20:56:06 +01:00
2018-08-20 15:35:09 +02:00
2018-11-19 16:33:49 +01:00
2018-11-19 16:33:49 +01:00
2017-01-17 11:54:55 +01:00
2018-08-20 15:35:43 +02:00
2019-12-16 23:02:14 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-02-09 22:54:22 +01:00
2019-01-21 21:19:09 +01:00
2018-10-31 17:54:59 +01:00
2018-01-17 11:14:57 +01:00
2018-01-17 11:14:57 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2019-12-04 12:33:36 +01:00
2019-12-04 12:33:36 +01:00
2019-06-16 10:39:29 +02:00
2017-12-18 23:00:13 +01:00
2018-08-20 15:22:24 +02:00
2017-05-16 22:56:30 +02:00
2018-10-31 17:54:59 +01:00
2018-06-22 22:18:26 +02:00
2018-06-22 22:18:26 +02:00
2017-07-05 17:20:02 +02:00
2017-05-16 10:23:50 +02:00
2019-08-02 22:49:55 +02:00
2018-09-06 19:39:28 +02:00
2019-12-16 22:51:23 +01:00
2018-09-06 19:52:43 +02:00
2018-10-29 14:34:29 +01:00
2019-12-16 22:51:23 +01:00
2017-01-17 11:54:55 +01:00
2018-08-20 16:28:43 +02:00
2018-08-20 16:30:46 +02:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2017-11-10 19:24:33 +01:00
2019-02-19 11:51:32 +01:00
2018-06-03 12:13:47 +02:00
2017-01-17 11:54:55 +01:00
2018-11-19 16:33:49 +01:00
2017-01-17 11:54:55 +01:00
2017-07-05 17:15:58 +02:00
2017-07-05 17:15:58 +02:00
2017-09-13 12:59:31 +02:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2017-05-08 14:44:49 +02:00
2017-05-08 14:44:49 +02:00
2017-12-18 23:00:13 +01:00
2017-09-12 18:22:02 +02:00
2018-08-21 08:20:17 +02:00
2018-09-06 19:49:45 +02:00
2018-09-06 19:52:43 +02:00
2018-09-06 19:52:43 +02:00
2019-01-22 08:38:03 +01:00