HomePhabricator

[libcxx] Stop using builtin type traits for is_floating_point and is_arithmetic.

Authored by zoecarver on Apr 1 2020, 4:56 PM.

Description

[libcxx] Stop using builtin type traits for is_floating_point and is_arithmetic.

Based on an issue brought up in https://reviews.llvm.org/D67900, this commit reverts the changes to is_floating_point and is_arithmetic made in D67900.

After D67900 landed, __float128 behaved differently in those two type traits, causing compiler errors in numeric limits (and possibly others).

Details

Committed
zoecarverApr 1 2020, 4:57 PM
Parents
rG296ccef70363: [WebAssembly] EmscriptenEHSjLj: Mark __invoke_ functions as imported
Branches
Unknown
Tags
Unknown