Kokkos::abort(#cond); \
})) \
} \
- while (0)
+ while (false)
# else /*ifdef DEAL_II_HAVE_BUILTIN_EXPECT*/
# define Assert(cond, exc) \
do \
Kokkos::abort(#cond); \
})) \
} \
- while (0)
+ while (false)
# endif /*ifdef DEAL_II_HAVE_BUILTIN_EXPECT*/
# else /*if KOKKOS_VERSION >= 30600*/
# ifdef KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_HOST
#exc, \
exc); \
} \
- while (0)
+ while (false)
# else /*ifdef DEAL_II_HAVE_BUILTIN_EXPECT*/
# define Assert(cond, exc) \
do \
#exc, \
exc); \
} \
- while (0)
+ while (false)
# endif /*ifdef DEAL_II_HAVE_BUILTIN_EXPECT*/
# else /*#ifdef KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_HOST*/
# define Assert(cond, exc) \
if (!(cond)) \
Kokkos::abort(#cond); \
} \
- while (0)
+ while (false)
# endif /*ifdef KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_HOST*/
# endif /*KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_HOST*/
#else /*ifdef DEBUG*/
do \
{ \
} \
- while (0)
+ while (false)
#endif /*ifdef DEBUG*/
::dealii::deal_II_exceptions::internals::issue_error_nothrow( \
__FILE__, __LINE__, __PRETTY_FUNCTION__, #cond, #exc, exc); \
} \
- while (0)
+ while (false)
# else /*ifdef DEAL_II_HAVE_BUILTIN_EXPECT*/
# define AssertNothrow(cond, exc) \
do \
::dealii::deal_II_exceptions::internals::issue_error_nothrow( \
__FILE__, __LINE__, __PRETTY_FUNCTION__, #cond, #exc, exc); \
} \
- while (0)
+ while (false)
# endif /*ifdef DEAL_II_HAVE_BUILTIN_EXPECT*/
#else
# define AssertNothrow(cond, exc) \
do \
{ \
} \
- while (0)
+ while (false)
#endif
/**
#exc, \
exc); \
} \
- while (0)
+ while (false)
#else /*ifdef DEAL_II_HAVE_BUILTIN_EXPECT*/
# define AssertThrow(cond, exc) \
do \
#exc, \
exc); \
} \
- while (0)
+ while (false)
#endif /*ifdef DEAL_II_HAVE_BUILTIN_EXPECT*/
do \
{ \
} \
- while (0)
+ while (false)
#endif // DEAL_II_WITH_MPI
#ifdef DEAL_II_WITH_CUDA
{ \
(void)(error_code); \
} \
- while (0)
+ while (false)
# endif
/**
{ \
(void)(error_code); \
} \
- while (0)
+ while (false)
# endif
/**
local_error_code = cudaDeviceSynchronize(); \
AssertCuda(local_error_code); \
} \
- while (0)
+ while (false)
# else
# define AssertCudaKernel() \
do \
{ \
} \
- while (0)
+ while (false)
# endif
/**
{ \
(void)(error_code); \
} \
- while (0)
+ while (false)
# endif
/**
{ \
(void)(error_code); \
} \
- while (0)
+ while (false)
# endif
/**
{ \
(void)(error_code); \
} \
- while (0)
+ while (false)
# endif
#endif