[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)
commitabed2eeaeaf920d19c879f8888cc6546520c7d12
treee4dc8a49d6111523bdd1422b34aa2ef2c7555394
parenta836924be45ff44059e915aec53787fc8432f4e4
[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.

llvm-svn: 220555
clang/lib/Driver/Tools.cpp
clang/test/Lexer/wchar-signedness.c