diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-04-29 19:33:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-29 19:33:05 +0200 |
commit | 6d4180a0d20d0b730b6e64acdac39261f52a9277 (patch) | |
tree | 2143d3d8f2cc10caee8b94d79d356eee2e762ebd /src/nvim/assert.h | |
parent | d5dc3dad80ab1aef1d5e2afcc4d44a779605da8b (diff) | |
parent | eef8de4df0247157e57f306062b1b86e01a41454 (diff) | |
download | rneovim-6d4180a0d20d0b730b6e64acdac39261f52a9277.tar.gz rneovim-6d4180a0d20d0b730b6e64acdac39261f52a9277.tar.bz2 rneovim-6d4180a0d20d0b730b6e64acdac39261f52a9277.zip |
Merge pull request #18162 from dundargoc/refactor/unctustify
refactor/uncrustify
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. /// |