Daniel Bertalan
3099a6bf2a
Kernel+AK: Generate compile-time error for non-sized delete
...
This is a much more ergonomic option than getting a
`VERIFY_NOT_REACHED()` failure at run-time. I encountered this issue
with Clang, where sized deallocation is not the default due to ABI
breakage concerns.
Note that we can't simply just not declare these functions, because the
C++ standard states:
> If this function with size parameter is defined, the program shall
> also define the version without the size parameter.
2021-07-16 20:51:13 +02:00
..
2021-07-11 21:37:38 +02:00
2021-07-09 15:36:50 +02:00
2021-07-16 18:50:59 +02:00
2021-07-14 11:26:34 +04:30
2021-07-15 23:46:37 +02:00
2021-07-16 11:49:50 +02:00
2021-07-16 18:50:16 +02:00
2021-07-16 20:51:13 +02:00
2021-07-11 21:37:38 +02:00
2021-07-11 21:37:38 +02:00
2021-07-11 21:37:38 +02:00
2021-07-16 20:30:04 +02:00
2021-07-11 00:26:17 +02:00
2021-07-11 21:37:38 +02:00
2021-07-11 21:37:38 +02:00
2021-07-14 12:33:07 +02:00
2021-07-16 18:50:59 +02:00
2021-06-29 22:57:52 +04:30
2021-07-07 21:57:01 +02:00
2021-07-16 20:51:13 +02:00
2021-06-24 00:38:23 +02:00
2021-06-09 22:44:09 +04:30
2021-06-24 00:38:23 +02:00
2021-07-11 01:46:59 +02:00
2021-07-11 00:25:24 +02:00
2021-07-11 14:14:51 +02:00
2021-06-12 18:17:25 +04:30
2021-06-24 00:38:23 +02:00
2021-06-16 21:29:36 +02:00
2021-07-15 11:04:30 +02:00
2021-07-11 15:15:57 +02:00
2021-07-07 10:05:55 +02:00
2021-07-07 10:05:55 +02:00
2021-07-11 14:14:51 +02:00
2021-07-16 18:50:59 +02:00
2021-06-28 15:55:00 +02:00
2021-07-03 01:56:31 +04:30
2021-06-24 17:35:49 +04:30
2021-07-11 14:10:58 +02:00
2021-07-07 15:32:17 +02:00
2021-06-24 10:29:09 +02:00
2021-07-08 10:11:00 +02:00
2021-06-24 10:29:09 +02:00
2021-07-14 13:12:25 +02:00
2021-07-07 15:32:17 +02:00
2021-07-14 23:04:34 +02:00
2021-07-16 18:50:59 +02:00
2021-07-16 20:30:04 +02:00
2021-07-16 20:30:04 +02:00
2021-07-12 11:27:18 +02:00
2021-07-06 19:08:22 +02:00
2021-06-24 00:38:23 +02:00
2021-06-29 22:11:10 +02:00
2021-06-27 15:46:42 +02:00
2021-07-08 11:43:34 +02:00
2021-07-14 22:36:29 +02:00
2021-07-14 12:30:41 +02:00
2021-07-14 13:40:01 +02:00
2021-07-14 13:40:01 +02:00
2021-07-11 21:37:38 +02:00
2021-06-03 13:27:40 +02:00
2021-07-14 13:40:01 +02:00
2021-06-24 09:27:13 +02:00
2021-06-24 00:38:23 +02:00
2021-07-15 23:46:37 +02:00
2021-07-15 23:46:37 +02:00
2021-07-16 18:50:59 +02:00
2021-06-24 00:38:23 +02:00
2021-07-11 14:14:51 +02:00
2021-07-04 20:08:28 +01:00
2021-07-14 12:30:41 +02:00
2021-07-16 20:51:13 +02:00
2021-07-16 20:51:13 +02:00
2021-07-16 15:18:47 +02:00
2021-07-11 21:37:38 +02:00
2021-06-24 17:35:49 +04:30
2021-07-12 11:27:18 +02:00
2021-07-12 11:27:18 +02:00
2021-06-24 00:38:23 +02:00
2021-06-04 10:39:41 +02:00
2021-06-08 12:15:04 +02:00
2021-06-17 19:52:54 +02:00
2021-06-24 00:38:23 +02:00