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-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
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-08-21 08:20:52 +02:00
2018-08-21 08:20:52 +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
2017-12-16 20:56:06 +01:00
2017-12-16 20:56:06 +01: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-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +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-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00
2018-11-19 16:33:49 +01:00
2018-10-31 17:54:59 +01:00
2018-10-31 17:54:59 +01:00