diff options
author | James Molloy <james.molloy@arm.com> | 2012-05-04 10:55:22 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2012-05-04 10:55:22 +0000 |
commit | 3636554b63850ac4411f4f7008b89423a76a7820 (patch) | |
tree | d0e4e7fb1dc69276e033df2099dec3c8b1af1f1d /llvm/lib/Support/LockFileManager.cpp | |
parent | 2f5d0191f78ec7d5948db3465a063095427d4aa6 (diff) | |
download | bcm5719-llvm-3636554b63850ac4411f4f7008b89423a76a7820.tar.gz bcm5719-llvm-3636554b63850ac4411f4f7008b89423a76a7820.zip |
Fix handling of wint_t - we can't assume wint_t is purely an integer promotion of wchar_t - they may differ in signedness.
Teach ASTContext about WIntType, and have it taken from TargetInfo like WCharType. Should fix test/Sema/format-strings.c for ARM, with the exception of one subtest which will fail if wint_t and wchar_t are the same size and wint_t is signed, wchar_t is unsigned.
There'll be a followup commit to fix that.
Reviewed by Chandler and Hans at http://llvm.org/reviews/r/8
llvm-svn: 156165
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions