llvm-project
ba72b419 - [libc++] Make __promote work with _BitInt, test for _BitInt in math functions (#248826)

Commit
23 hours ago
[libc++] Make __promote work with _BitInt, test for _BitInt in math functions (#248826) Fixes #248462 The problem was that `__promote` hardcoded a list of accepted integer types, so it wouldn't accept `_BitInt`, which can be fixed by having a generic case for all integral types. To verify that the solution works, a temporary `types::bit_ints_8_16_32_64` list is added, which should be folded into `types::integral_types` eventually.
Author
Parents
Loading