Update __is_unsigned builtin to match the Standard.
authorzoecarver <z.zoelec2@gmail.com>
Wed, 10 Mar 2021 22:59:38 +0000 (14:59 -0800)
committerzoecarver <z.zoelec2@gmail.com>
Wed, 10 Mar 2021 23:00:26 +0000 (15:00 -0800)
commita89ac0dd185d72607d4ee1356467fffc48711c9a
tree5b581c7b7f10ab6884a122cb65c9db75e7cf96c1
parentc0891706bc9faf428dfde7feddd8203efc43e118
Update __is_unsigned builtin to match the Standard.

Updates __is_unsigned to have the same behavior as the standard
specifies. This is in line with 511dbd8, which applied the same change
to __is_signed.

Refs D67897.

Differential Revision: https://reviews.llvm.org/D98104
clang/docs/LanguageExtensions.rst
clang/lib/Sema/SemaExprCXX.cpp
clang/test/SemaCXX/type-traits.cpp