diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-10-30 02:23:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-29 17:23:20 -0700 |
commit | 4472c56d54f447040f6e8610b261b7efa0d04eb6 (patch) | |
tree | fcc56104bc56529999bd18e90ecef1c80711ecf0 /src/nvim/assert.h | |
parent | 16d06fa3eb74ed96b659736ea504c31ed81c325e (diff) | |
download | rneovim-4472c56d54f447040f6e8610b261b7efa0d04eb6.tar.gz rneovim-4472c56d54f447040f6e8610b261b7efa0d04eb6.tar.bz2 rneovim-4472c56d54f447040f6e8610b261b7efa0d04eb6.zip |
refactor: uncrustify #16090
Diffstat (limited to 'src/nvim/assert.h')
-rw-r--r-- | src/nvim/assert.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/assert.h b/src/nvim/assert.h index fc1a4be164..ad92d9a2af 100644 --- a/src/nvim/assert.h +++ b/src/nvim/assert.h @@ -70,11 +70,11 @@ # if __GNUC__ >= 6 # define STATIC_ASSERT_PRAGMA_START \ - _Pragma("GCC diagnostic push")\ + _Pragma("GCC diagnostic push") \ _Pragma("GCC diagnostic ignored \"-Wpedantic\"") # else # define STATIC_ASSERT_PRAGMA_START \ - _Pragma("GCC diagnostic push")\ + _Pragma("GCC diagnostic push") \ _Pragma("GCC diagnostic ignored \"-pedantic\"") # endif @@ -89,7 +89,7 @@ # undef STATIC_ASSERT_PRAGMA_START # define STATIC_ASSERT_PRAGMA_START \ - _Pragma("clang diagnostic push")\ + _Pragma("clang diagnostic push") \ _Pragma("clang diagnostic ignored \"-Wc11-extensions\"") # undef STATIC_ASSERT_PRAGMA_END @@ -113,14 +113,14 @@ // These can't be used after statements in c89. #ifdef __COUNTER__ # define STATIC_ASSERT_EXPR(e, m) \ - ((enum { ASSERT_CONCAT(static_assert_, __COUNTER__) = 1/(!!(e)) }) 0) + ((enum { ASSERT_CONCAT(static_assert_, __COUNTER__) = 1/(!!(e)), }) 0) #else // This can't be used twice on the same line so ensure if using in headers // that the headers are not included twice (by wrapping in #ifndef...#endif) // Note it doesn't cause an issue when used on same line of separate modules // compiled with gcc -combine -fwhole-program. # define STATIC_ASSERT_EXPR(e, m) \ - ((enum { ASSERT_CONCAT(assert_line_, __LINE__) = 1/(!!(e)) }) 0) + ((enum { ASSERT_CONCAT(assert_line_, __LINE__) = 1/(!!(e)), }) 0) #endif /// @def STRICT_ADD |