Home | History | Annotate | Download | only in Sema

Lines Matching refs:check

4 #define check(name, cond) int _##name##_check[(cond) ? 1 : -1]
8 check(s0_size, sizeof(struct s0) == 16);
10 check(s0_size, sizeof(struct s0) == 12);
15 check(s1_size, sizeof(struct s1) == 16);
17 check(s1_size, sizeof(struct s1) == 12);
26 check(s2_size, sizeof(struct s2) == 8);
27 check(s2_offset_0, __builtin_offsetof(struct s2, field0) == 0);
28 check(s2_offset_1, __builtin_offsetof(struct s2, field2) == 7);
30 check(s2_size, sizeof(struct s2) == 6);
31 check(s2_offset_0, __builtin_offsetof(struct s2, field0) == 0);
32 check(s2_offset_1, __builtin_offsetof(struct s2, field2) == 5);
40 check(s3_size, sizeof(struct s3) == 8);
41 check(s3_offset_0, __builtin_offsetof(struct s3, field0) == 0);
42 check(s3_offset_1, __builtin_offsetof(struct s3, field2) == 7);
48 check(s4_size, sizeof(struct s4) == 4);
49 check(s4_align, __alignof(struct s4) == 4);
51 check(s4_size, sizeof(struct s4) == 1);
52 check(s4_align, __alignof(struct s4) == 1);