[all-commits] [llvm/llvm-project] ef7353: [z/OS][libc++] Remove `align_val_t` dependency in ...
Zibi Sarbinowski via All-commits
all-commits at lists.llvm.org
Thu Nov 7 10:45:11 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef73533f36d5f2132630e88899b5e64999cb8364
https://github.com/llvm/llvm-project/commit/ef73533f36d5f2132630e88899b5e64999cb8364
Author: Zibi Sarbinowski <zibi at ca.ibm.com>
Date: 2024-11-07 (Thu, 07 Nov 2024)
Changed paths:
M libcxx/include/__utility/small_buffer.h
Log Message:
-----------
[z/OS][libc++] Remove `align_val_t` dependency in small_buffer.h (#114396)
Rewriting `__alloc()` and `__dealloc()` template functions to avoid errors when `small_buffer.h` is
included in the modules LIT tests. For example:
```
test-suite-install/include/c++/v1/__utility/small_buffer.h:69:81: error: use of undeclared identifier 'align_val_t'
# | 69 | byte* __allocation = static_cast<byte*>(::operator new[](sizeof(_Stored), align_val_t{alignof(_Stored)}));
# | | ^
```
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