Home | History | Annotate | Download | only in CodeGenCXX

Lines Matching refs:offsetof

14 static_assert(offsetof(struct t1, bar) == 1);
23 static_assert(offsetof(struct t2, bar) == 2);
32 static_assert(offsetof(struct t3, bar) == 4);
41 static_assert(offsetof(struct t4, bar) == 8);
50 static_assert(offsetof(struct t5, bar) == 8);
60 static_assert(offsetof(struct t6, bar2) == 2);
70 static_assert(offsetof(struct t7, bar2) == 3);
80 static_assert(offsetof(struct t8, bar2) == 5);
90 static_assert(offsetof(struct t9, bar2) == 9);
100 static_assert(offsetof(struct t10, bar2) == 9);
111 static_assert(offsetof(struct t11, bar2) == 9);
122 static_assert(offsetof(struct t12, bar) == 8);
131 static_assert(offsetof(struct t13, bar) == 8);
146 static_assert(offsetof(struct t14, bar1) == 10);
147 static_assert(offsetof(struct t14, bar2) == 12);
159 static_assert(offsetof(struct t15, bar) == 4);
167 static_assert(offsetof(struct t16, bar) == 0);
178 static_assert(offsetof(struct t17, bar) == 8);
197 static_assert(offsetof(struct t19, bar) == 6);
207 static_assert(offsetof(struct t20, bar) == 8);
230 static_assert(offsetof(struct t21, bar1) == 8);
231 static_assert(offsetof(struct t21, bar2) == 12);
232 static_assert(offsetof(struct t21, bar3) == 16);
233 static_assert(offsetof(struct t21, bar4) == 40);
244 static_assert(offsetof(struct t22, bar) == 2);