diff options
author | Ken Dyck <ken.dyck@onsemi.com> | 2009-11-16 16:36:33 +0000 |
---|---|---|
committer | Ken Dyck <ken.dyck@onsemi.com> | 2009-11-16 16:36:33 +0000 |
commit | eef22efce8dd9d0ba9adb8f4746b96b584f2521d (patch) | |
tree | 17f9314ebafbab333ff66c3941e2c2c37865af9f /test/Preprocessor/stdint.c | |
parent | eac73e5b3eb3862945bcaa2770c71a727a3ee542 (diff) |
Parameterize the constant-generating macros in stdint.h with new built-in
__INTn_C_SUFFIX__ macros that are defined for types with corresponding
constant suffixes (i.e. long and long long).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88914 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/stdint.c')
-rw-r--r-- | test/Preprocessor/stdint.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/Preprocessor/stdint.c b/test/Preprocessor/stdint.c index 2349c32b5e..faa5f8e16f 100644 --- a/test/Preprocessor/stdint.c +++ b/test/Preprocessor/stdint.c @@ -413,8 +413,8 @@ // MSP430:UINT8_C_(0) (0U) // MSP430:INT16_C_(0) (0) // MSP430:UINT16_C_(0) (0U) -// MSP430:INT32_C_(0) (0) -// MSP430:UINT32_C_(0) (0U) +// MSP430:INT32_C_(0) (0L) +// MSP430:UINT32_C_(0) (0UL) // MSP430:INT64_C_(0) INT64_C(0) // MSP430:UINT64_C_(0) UINT64_C(0) // @@ -513,8 +513,8 @@ // PIC16:UINT8_C_(0) (0U) // PIC16:INT16_C_(0) (0) // PIC16:UINT16_C_(0) (0U) -// PIC16:INT32_C_(0) (0) -// PIC16:UINT32_C_(0) (0U) +// PIC16:INT32_C_(0) (0L) +// PIC16:UINT32_C_(0) (0UL) // PIC16:INT64_C_(0) INT64_C(0) // PIC16:UINT64_C_(0) UINT64_C(0) // @@ -622,8 +622,8 @@ // PPC64:UINT16_C_(0) (0U) // PPC64:INT32_C_(0) (0) // PPC64:UINT32_C_(0) (0U) -// PPC64:INT64_C_(0) (0LL) -// PPC64:UINT64_C_(0) (0ULL) +// PPC64:INT64_C_(0) (0L) +// PPC64:UINT64_C_(0) (0UL) // // PPC64:INTMAX_C_(0) (0LL) // PPC64:UINTMAX_C_(0) (0ULL) @@ -837,8 +837,8 @@ // S390X:UINT16_C_(0) (0U) // S390X:INT32_C_(0) (0) // S390X:UINT32_C_(0) (0U) -// S390X:INT64_C_(0) (0LL) -// S390X:UINT64_C_(0) (0ULL) +// S390X:INT64_C_(0) (0L) +// S390X:UINT64_C_(0) (0UL) // // S390X:INTMAX_C_(0) (0LL) // S390X:UINTMAX_C_(0) (0ULL) @@ -1152,8 +1152,8 @@ // X86_64:UINT16_C_(0) (0U) // X86_64:INT32_C_(0) (0) // X86_64:UINT32_C_(0) (0U) -// X86_64:INT64_C_(0) (0LL) -// X86_64:UINT64_C_(0) (0ULL) +// X86_64:INT64_C_(0) (0L) +// X86_64:UINT64_C_(0) (0UL) // // X86_64:INTMAX_C_(0) (0LL) // X86_64:UINTMAX_C_(0) (0ULL) |