diff options
Diffstat (limited to 'src/nvim/assert.h')
-rw-r--r-- | src/nvim/assert.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/assert.h b/src/nvim/assert.h index 65519a8004..bc5260b914 100644 --- a/src/nvim/assert.h +++ b/src/nvim/assert.h @@ -1,5 +1,3 @@ -// uncrustify:off - #ifndef NVIM_ASSERT_H #define NVIM_ASSERT_H @@ -110,6 +108,8 @@ # define STATIC_ASSERT_STATEMENT STATIC_ASSERT_EXPR #endif +// uncrustify:off + #define ASSERT_CONCAT_(a, b) a##b #define ASSERT_CONCAT(a, b) ASSERT_CONCAT_(a, b) // These can't be used after statements in c89. @@ -125,6 +125,8 @@ ((enum { ASSERT_CONCAT(assert_line_, __LINE__) = 1/(!!(e)), }) 0) #endif +// uncrustify:on + /// @def STRICT_ADD /// @brief Adds (a + b) and stores result in `c`. Aborts on overflow. /// |