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 | 2dc8d5fa3ea16c00ce01dd3eed74861489dd998f (patch) | |
tree | c8785a7320e5701be7c7d2a0c2f3e3ac778a4e7b /clang/test/Preprocessor/stdint.c | |
parent | 551861e7d9d4b9f2bd7806e3b8b6875580c2b3c9 (diff) | |
download | bcm5719-llvm-2dc8d5fa3ea16c00ce01dd3eed74861489dd998f.tar.gz bcm5719-llvm-2dc8d5fa3ea16c00ce01dd3eed74861489dd998f.zip |
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).
llvm-svn: 88914
Diffstat (limited to 'clang/test/Preprocessor/stdint.c')
-rw-r--r-- | clang/test/Preprocessor/stdint.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/clang/test/Preprocessor/stdint.c b/clang/test/Preprocessor/stdint.c index 2349c32b5e0..faa5f8e16f9 100644 --- a/clang/test/Preprocessor/stdint.c +++ b/clang/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) |