]> granicus.if.org Git - clang/commit
[Thumb] Clang thinks "char" is signed when using a thumb triple
authorOliver Stannard <oliver.stannard@arm.com>
Fri, 24 Oct 2014 11:28:47 +0000 (11:28 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Fri, 24 Oct 2014 11:28:47 +0000 (11:28 +0000)
commita9757883c9cba7e55d36871c3c73ee5809372d31
treec4d7a8b7d4e64ee7d55918c25493ad14f8d9e597
parent12b192a90d6b4e18754f6fdba4617b4c060b4a8b
[Thumb] Clang thinks "char" is signed when using a thumb triple

'char' is unsigned on all ARM and Thumb architectures. Clang gets this
right for ARM, and for thumb when using and arm triple and the -mthumb
option, but gets it wrong for thumb triples. This fixes that.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220555 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Lexer/wchar-signedness.c