Misa
7a48d0a53e
Add Unreachable.h
...
This is to indicate when a code path is absolutely, for certain, 100%
unreachable. Useful as the default case inside a case-switch that is for
sure 100% exhaustive because it's inside the case of another case-switch
(and the default case is there to suppress compiler warnings about the
case-switch not being exhaustive), which is a situation coming up in my
scriptclass::startgamemode refactor.
It does this by deliberately invoking undefined behavior, either using a
compiler builtin that does the same thing or being a noreturn function
that returns. (And undefined behavior is not undefined behavior if it is
not executed in a code path, otherwise all NULL checks would be useless
because it'd dereference something that could be NULL in another code
path.)
2022-12-29 12:10:25 -08:00
..
2022-11-30 22:50:08 -08:00
2022-11-30 22:50:08 -08:00
2021-09-23 22:21:49 -07:00
2021-10-13 15:38:51 -07:00
2021-10-13 15:38:51 -07:00
2021-10-01 09:35:28 -07:00
2022-11-30 11:22:50 -08:00
2022-11-30 22:50:08 -08:00
2022-06-19 15:21:36 -07:00
2022-11-30 22:50:08 -08:00
2022-05-06 00:19:30 -07:00
2021-03-21 02:55:42 -04:00
2021-03-21 02:55:42 -04:00
2022-05-06 00:19:30 -07:00
2021-09-06 15:43:59 -07:00
2021-09-06 18:56:39 -07:00
2021-09-06 18:56:39 -07:00
2022-12-11 12:40:45 -08:00
2022-12-11 12:40:45 -08:00
2021-12-18 00:01:32 -08:00
2021-09-27 10:32:23 -07:00
2022-11-30 22:50:08 -08:00
2022-11-30 22:50:08 -08:00
2021-09-12 21:06:26 -07:00
2021-09-12 21:06:26 -07:00
2022-12-07 17:40:15 -08:00
2022-12-07 17:40:15 -08:00
2021-08-05 13:35:21 -04:00
2021-08-05 13:35:21 -04:00
2021-09-19 21:49:54 -07:00
2022-11-30 22:50:08 -08:00
2022-04-25 00:57:47 -07:00
2022-11-30 22:50:08 -08:00
2020-07-19 21:37:40 -04:00
2022-11-30 22:50:08 -08:00
2021-02-25 19:38:25 -05:00
2022-12-07 17:40:15 -08:00
2021-02-25 17:23:59 -05:00
2022-08-23 00:00:38 -07:00
2022-08-23 00:00:38 -07:00
2022-11-30 22:50:08 -08:00
2021-09-06 18:56:39 -07:00
2021-09-12 21:06:26 -07:00
2021-09-12 21:06:26 -07:00
2022-03-13 23:50:37 -07:00
2022-04-25 00:57:47 -07:00
2021-02-25 17:23:59 -05:00
2022-11-30 22:53:36 -08:00
2021-04-17 00:50:04 -04:00
2022-12-07 17:40:15 -08:00
2022-11-30 22:53:36 -08:00
2022-02-11 17:31:41 -05:00
2022-11-30 22:50:08 -08:00
2021-12-26 08:57:38 -05:00
2021-09-19 21:49:54 -07:00
2021-02-25 17:23:59 -05:00
2021-12-08 16:25:18 -08:00
2021-09-12 21:06:26 -07:00
2021-09-11 02:15:20 -07:00
2021-02-25 17:23:59 -05:00
2022-08-23 00:00:39 -07:00
2022-11-30 13:35:14 -08:00
2021-02-25 17:23:59 -05:00
2021-09-05 16:59:05 -07:00
2021-03-21 02:55:42 -04:00
2022-11-30 22:50:08 -08:00
2021-12-25 23:01:45 -08:00
2021-12-25 23:14:12 -08:00
2022-12-07 17:40:15 -08:00
2021-08-12 00:20:40 -04:00
2021-09-03 12:08:31 -07:00
2021-09-12 21:06:26 -07:00
2021-09-12 21:06:26 -07:00
2021-10-21 01:00:06 -07:00
2021-09-06 18:56:39 -07:00
2021-09-12 21:06:27 -07:00
2021-09-12 21:06:27 -07:00
2022-11-30 22:50:08 -08:00
2021-09-24 17:48:15 -07:00
2021-09-24 16:37:27 -07:00
2021-09-06 18:56:39 -07:00
2022-12-29 12:10:25 -08:00
2021-05-25 15:23:34 -04:00
2022-07-04 23:14:44 -07:00
2021-12-25 11:38:12 -08:00
2022-11-30 22:50:08 -08:00
2022-11-30 22:50:08 -08:00
2022-11-14 21:57:01 -08:00
2022-11-14 19:40:23 -08:00
2021-09-12 21:06:26 -07:00
2021-09-12 21:06:26 -07:00
2020-11-04 12:06:57 -05:00
2020-11-04 12:06:57 -05:00
2022-11-14 13:14:25 -08:00
2021-08-27 12:28:35 -07:00