Go to the documentation of this file.
22 #define IC_ASSERT_CONSTANT(expr) \
23 IC_BUILD_ASSERT(__builtin_constant_p(expr), #expr " is not a compile-time constant.")
31 #define IC_REQUIRE_CONSTANT(expr) \
33 IC_ASSERT_CONSTANT(expr); \
42 #define IC_ASSERT_NOT_CONSTANT(expr) \
43 IC_BUILD_ASSERT(!__builtin_constant_p(expr), #expr " is a compile-time constant.")
51 #define IC_REQUIRE_NOT_CONSTANT(expr) \
53 IC_ASSERT_NOT_CONSTANT(expr); \