|
VTK
9.4.20241226
|
Go to the documentation of this file.
30#define VTK_ASSUME(cond) \
33 const bool c = cond; \
34 assert("Bad assumption in VTK_ASSUME: " #cond&& c); \
39#define VTK_ASSUME_NO_ASSERT(cond) \
42 const bool c = cond; \
48#if defined(VTK_COMPILER_MSVC) || defined(VTK_COMPILER_ICC)
49#define VTK_ASSUME_IMPL(cond) __assume(cond)
50#elif defined(VTK_COMPILER_GCC) || defined(VTK_COMPILER_CLANG)
51#define VTK_ASSUME_IMPL(cond) \
53 __builtin_unreachable()
55#define VTK_ASSUME_IMPL(cond) \