Home | History | Annotate | Download | only in Preprocessor
      1 // RUN: %clang_cc1 -dM -triple armv7-windows -E %s | FileCheck %s
      2 // RUN: %clang_cc1 -dM -fno-signed-char -triple armv7-windows -E %s \
      3 // RUN:   | FileCheck %s -check-prefix CHECK-UNSIGNED-CHAR
      4 
      5 // CHECK: #define _INTEGRAL_MAX_BITS 64
      6 // CHECK: #define _M_ARM 7
      7 // CHECK: #define _M_ARMT _M_ARM
      8 // CHECK: #define _M_ARM_FP 31
      9 // CHECK: #define _M_ARM_NT 1
     10 // CHECK: #define _M_THUMB _M_ARM
     11 // CHECK: #define _WIN32 1
     12 
     13 // CHECK: #define __ARM_PCS 1
     14 // CHECK: #define __ARM_PCS_VFP 1
     15 // CHECK: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
     16 // CHECK: #define __SIZEOF_DOUBLE__ 8
     17 // CHECK: #define __SIZEOF_FLOAT__ 4
     18 // CHECK: #define __SIZEOF_INT__ 4
     19 // CHECK: #define __SIZEOF_LONG_DOUBLE__ 8
     20 // CHECK: #define __SIZEOF_LONG_LONG__ 8
     21 // CHECK: #define __SIZEOF_LONG__ 4
     22 // CHECK: #define __SIZEOF_POINTER__ 4
     23 // CHECK: #define __SIZEOF_PTRDIFF_T__ 4
     24 // CHECK: #define __SIZEOF_SHORT__ 2
     25 // CHECK: #define __SIZEOF_SIZE_T__ 4
     26 // CHECK: #define __SIZEOF_WCHAR_T__ 2
     27 // CHECK: #define __SIZEOF_WINT_T__ 4
     28 
     29 // CHECK-NOT: __THUMB_INTERWORK__
     30 // CHECK-NOT: __ARM_EABI__
     31 // CHECK-NOT: _CHAR_UNSIGNED
     32 
     33 // CHECK-UNSIGNED-CHAR: #define _CHAR_UNSIGNED 1
     34