[PATCH] Clang thinks "char" is signed when using a thumb triple

Oliver Stannard oliver.stannard at arm.com
Fri Oct 24 03:08:36 PDT 2014


'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.

http://reviews.llvm.org/D5960

Files:
  lib/Driver/Tools.cpp
  test/Lexer/wchar-signedness.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5960.15388.patch
Type: text/x-patch
Size: 1021 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141024/0cda6412/attachment.bin>


More information about the cfe-commits mailing list