Searched refs:CHECK_SIZE (Results 1 - 2 of 2) sorted by relevance

/external/clang/test/SemaCXX/
H A Dbitfield-layout.cpp3 #define CHECK_SIZE(name, size) extern int name##1[sizeof(name) == size ? 1 : -1]; macro
10 CHECK_SIZE(Test1, 2);
16 CHECK_SIZE(Test2, 2);
22 CHECK_SIZE(Test3, 4);
28 CHECK_SIZE(Test4, 8);
/external/clang/test/Sema/
H A Dbitfield-layout.c4 #define CHECK_SIZE(kind, name, size) extern int name##1[sizeof(kind name) == size ? 1 : -1]; macro
9 CHECK_SIZE(struct, a, 5)
14 CHECK_SIZE(struct, a2, 5)
19 CHECK_SIZE(struct, a3, 4)
24 CHECK_SIZE(struct, a4, 2)
28 CHECK_SIZE(union, b, 1)
33 CHECK_SIZE(struct, c, 4)
37 CHECK_SIZE(union, d, 3)
42 CHECK_SIZE(struct, e, 8)
47 CHECK_SIZE(struc
[all...]

Completed in 121 milliseconds