ladybird/Kernel/Heap
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
..
Heap.h Kernel: Remove krealloc() 2021-07-11 14:14:51 +02:00
kmalloc.cpp Kernel: Implement aligned operator new and use it 2021-07-16 20:51:13 +02:00
kmalloc.h Kernel+AK: Generate compile-time error for non-sized delete 2021-07-16 20:51:13 +02:00
SlabAllocator.cpp Kernel: Remove unused header includes in Heap subtree 2021-07-11 21:37:38 +02:00
SlabAllocator.h Kernel: Allow passing null pointer to delete 2021-07-14 13:12:25 +02:00