diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-12 08:04:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-12 08:04:33 +0000 |
commit | 9184646509d015ea66e796113a8c68598681374b (patch) | |
tree | 73cf5f23fc479b16578081672a4d4dd6c253550b /test/Preprocessor/init.c | |
parent | 6907943901e0aae5be7618c36c0f8275634e6ab5 (diff) |
do not store wchar/char16/char32/intmax width/alignment info
into TargetInfo, just derive this based on the underlying type.
This prevents them from getting out of synch, patch by Ken Dyck!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86976 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/init.c')
-rw-r--r-- | test/Preprocessor/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Preprocessor/init.c b/test/Preprocessor/init.c index 6f8f61b635..95f978bec3 100644 --- a/test/Preprocessor/init.c +++ b/test/Preprocessor/init.c @@ -408,7 +408,7 @@ // MSP430:#define __SIZE_TYPE__ unsigned int // MSP430:#define __UINTMAX_TYPE__ long unsigned int // MSP430:#define __USER_LABEL_PREFIX__ _ -// MSP430:#define __WCHAR_MAX__ 2147483647 +// MSP430:#define __WCHAR_MAX__ 32767 // MSP430:#define __WCHAR_TYPE__ int // MSP430:#define __WINT_TYPE__ int // MSP430:#define __clang__ 1 @@ -476,7 +476,7 @@ // PIC16:#define __SIZE_TYPE__ unsigned int // PIC16:#define __UINTMAX_TYPE__ long unsigned int // PIC16:#define __USER_LABEL_PREFIX__ _ -// PIC16:#define __WCHAR_MAX__ 2147483647 +// PIC16:#define __WCHAR_MAX__ 32767 // PIC16:#define __WCHAR_TYPE__ int // PIC16:#define __WINT_TYPE__ int // PIC16:#define __clang__ 1 |