diff options
author | James Molloy <james.molloy@arm.com> | 2011-11-23 13:35:08 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2011-11-23 13:35:08 +0000 |
commit | c445be4b4b7a9edb3def21ef7077cd8380bc4592 (patch) | |
tree | 23df27db7ef09031916fbcafcf226e7dd580cd26 /clang/test/Preprocessor/stdint.c | |
parent | 0b3e996485947884cc9ea2a1d3c2bb50d24a140e (diff) | |
download | bcm5719-llvm-c445be4b4b7a9edb3def21ef7077cd8380bc4592.tar.gz bcm5719-llvm-c445be4b4b7a9edb3def21ef7077cd8380bc4592.zip |
AAPCS compliance - 32-bit wchar_t should be unsigned for both aapcs and aapcs-linux.
Original behaviour of defining wchar_t as signed int has been kept for apcs-gnu as I don't have any spec for this to validate against.
llvm-svn: 145102
Diffstat (limited to 'clang/test/Preprocessor/stdint.c')
-rw-r--r-- | clang/test/Preprocessor/stdint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Preprocessor/stdint.c b/clang/test/Preprocessor/stdint.c index fc88688b525..70c106bf797 100644 --- a/clang/test/Preprocessor/stdint.c +++ b/clang/test/Preprocessor/stdint.c @@ -90,8 +90,8 @@ // ARM:WINT_MIN_ (-2147483647 -1) // ARM:WINT_MAX_ 2147483647 // -// ARM:WCHAR_MAX_ 2147483647 -// ARM:WCHAR_MIN_ (-2147483647 -1) +// ARM:WCHAR_MAX_ 4294967295U +// ARM:WCHAR_MIN_ 0U // // ARM:INT8_C_(0) 0 // ARM:UINT8_C_(0) 0U |