Lines Matching defs:COMPILE_ASSERT
128 // The COMPILE_ASSERT macro can be used to verify that a compile time
132 // COMPILE_ASSERT(sizeof(num_content_type_names) == sizeof(int),
137 // COMPILE_ASSERT(sizeof(foo) < 128, foo_too_large);
143 // Implementation details of COMPILE_ASSERT:
145 // - COMPILE_ASSERT works by defining an array type that has -1
150 // #define COMPILE_ASSERT(expr, msg) typedef char msg[(expr) ? 1 : -1]
158 // COMPILE_ASSERT(foo, msg); // not supposed to compile as foo is
172 // COMPILE_ASSERT(5 > 0, some_message);
188 #define COMPILE_ASSERT(expr, msg) \
213 COMPILE_ASSERT(sizeof(Dest) == sizeof(Source), bitcasting_unequal_sizes);