|
VTK
9.1.0
|
Go to the documentation of this file.
42#define VTK_ASSUME(cond) \
45 const bool c = cond; \
46 assert("Bad assumption in VTK_ASSUME: " #cond&& c); \
51#define VTK_ASSUME_NO_ASSERT(cond) \
54 const bool c = cond; \
60#if defined(VTK_COMPILER_MSVC) || defined(VTK_COMPILER_ICC)
61#define VTK_ASSUME_IMPL(cond) __assume(cond)
62#elif defined(VTK_COMPILER_GCC) || defined(VTK_COMPILER_CLANG)
63#define VTK_ASSUME_IMPL(cond) \
65 __builtin_unreachable()
67#define VTK_ASSUME_IMPL(cond) \