[libc-commits] [libc] [libc] Add noexcept to aligned_alloc declaration in full-build mode (PR #191236)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Thu Apr 9 09:57:46 PDT 2026


================
@@ -11,7 +11,11 @@
 
 #ifdef LIBC_FULL_BUILD
 #include "hdr/types/size_t.h"
+#ifdef __cplusplus
----------------
vonosmas wrote:

Does it make sense to include `__llvm_libc_common.h` here and use macro from there
(__BEGIN_C_DECLS, __END_C_DECLS, __NOEXCEPT)?

https://github.com/llvm/llvm-project/pull/191236


More information about the libc-commits mailing list