Evaluate bitfields into bitfield expressions.
[smatch.git] / target.h
blob5b9c5dcdf1199d349df3259192a5ea71227c6baf
1 #ifndef TARGET_H
2 #define TARGET_H
4 #define size_t_ctype (&ulong_ctype)
6 /*
7 * Integer data types
8 */
9 #define BITS_IN_CHAR 8
10 #define BITS_IN_SHORT 16
11 #define BITS_IN_INT 32
12 #define BITS_IN_LONG 32
13 #define BITS_IN_LONGLONG 64
15 #define MAX_INT_ALIGNMENT 4
18 * Floating point data types
20 #define BITS_IN_FLOAT 32
21 #define BITS_IN_DOUBLE 64
22 #define BITS_IN_LONGDOUBLE 80
24 #define MAX_FP_ALIGNMENT 8
27 * Pointer data type
29 #define BITS_IN_POINTER 32
30 #define POINTER_ALIGNMENT 4
33 * Enum data types
35 #define BITS_IN_ENUM 32
36 #define ENUM_ALIGNMENT 4
38 #endif