[libc-commits] [libc] [libc] Add aligned_alloc (PR #96586)
Paul Kirth via libc-commits
libc-commits at lists.llvm.org
Tue Jun 25 10:03:32 PDT 2024
================
@@ -261,6 +262,40 @@ class Block {
constexpr Block(size_t prev_outer_size, size_t outer_size);
+ bool usable_space_is_aligned(size_t alignment) const {
----------------
ilovepi wrote:
```suggestion
bool is_usable_space_aligned(size_t alignment) const {
```
IDK if libc is different, but we normally prefer the verb to come first for these, right?
https://github.com/llvm/llvm-project/pull/96586
More information about the libc-commits
mailing list