[all-commits] [llvm/llvm-project] e8d2de: [libc++] Provide aligned allocation function iff t...
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Mon Sep 14 03:00:12 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e8d2def7e7ed18f22a493b72435468225c1047ba
https://github.com/llvm/llvm-project/commit/e8d2def7e7ed18f22a493b72435468225c1047ba
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2026-09-14 (Mon, 14 Sep 2026)
Changed paths:
M libcxx/include/__config
M libcxx/include/__new/align_val_t.h
M libcxx/include/__new/global_new_delete.h
M libcxx/src/include/aligned_alloc.h
M libcxx/src/support/new.ipp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new.size_align.except.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new.size_align_nothrow.except.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new.size_align.except.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new.size_align_nothrow.except.pass.cpp
M libcxx/test/support/test_macros.h
M libcxxabi/src/fallback_malloc.cpp
Log Message:
-----------
[libc++] Provide aligned allocation function iff the compiler claims support (#219199)
There isn't much of a point to providing declarations for aligned
allocation functions but not allowing the compiler to use them. So
either aligned allocations should be allowed to be used via
`-faligned-allocation` or not provided at all.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list