commit | bc31a265c4a3b1beef70f2b239c0e7081a11defc | [log] [tgz] |
---|---|---|
author | Tomas Matheson <tomas.matheson@arm.com> | Tue Feb 23 14:05:55 2021 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 18 00:27:50 2021 -0700 |
tree | 93c4dd492e28d46cd6546594a33de91e2a9e2e22 | |
parent | 24cf34ae15ae5acf5770bff83013681a91b69e2e [diff] |
[libcxx][type_traits] add tests for is_signed and is_unsigned In previous versions of clang, __is_signed and __is_unsigned builtins did not correspond to is_signed and is_unsigned behaviour for enums. The builtins were fixed in D67897 and D98104. * Disable the fast path of is_unsigned for clang versions < 13 * Add more tests for is_signed, is_unsigned and is_arithmetic Differential Revision: https://reviews.llvm.org/D97283 GitOrigin-RevId: 64595f9b84fa77a130085260b1b4e26a2756dce8