Problem: formatting not up to date

Solution: run make clang-format-diff
This commit is contained in:
Luca Boccassi
2020-02-23 17:38:29 +00:00
parent 09476b3d7f
commit 4f45ac135a
5 changed files with 11 additions and 8 deletions

View File

@@ -77,9 +77,12 @@
// This macro is used to avoid-variable warning. If used with an expression,
// the sizeof is not evaluated to avoid polluting the assembly code.
#ifdef NDEBUG
#define ASSERT_EXPR_SAFE(x) do { (void)sizeof(x);} while (0)
#define ASSERT_EXPR_SAFE(x) \
do { \
(void) sizeof (x); \
} while (0)
#else
#define ASSERT_EXPR_SAFE(x) assert(x)
#define ASSERT_EXPR_SAFE(x) assert (x)
#endif