diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-01-14 00:48:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 15:48:10 -0800 |
commit | 9220755302317e8030c5bbf334357c0d64df9fa4 (patch) | |
tree | 3ee671d186e47fab2c7e808f9236fe65005b890f /src/nvim/assert.h | |
parent | b884d0b37031ec3d5a521925ea66621b572adfda (diff) | |
download | rneovim-9220755302317e8030c5bbf334357c0d64df9fa4.tar.gz rneovim-9220755302317e8030c5bbf334357c0d64df9fa4.tar.bz2 rneovim-9220755302317e8030c5bbf334357c0d64df9fa4.zip |
build: remove clint error suppression #21782
Fix remaining clint errors and remove error suppression completely.
Rename the lint targets to align with the established naming convention:
- lintc-clint lints with clint.py.
- lintc-uncrustify lints with uncrustify.
- lintc runs both targets.
lintc is also provided as a make target for convenience.
After this change we can remove these files:
https://github.com/neovim/doc/tree/gh-pages/reports/clint
https://github.com/neovim/doc/blob/main/ci/clint-errors.sh
Diffstat (limited to 'src/nvim/assert.h')
-rw-r--r-- | src/nvim/assert.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/assert.h b/src/nvim/assert.h index ad92d9a2af..1941f4c33c 100644 --- a/src/nvim/assert.h +++ b/src/nvim/assert.h @@ -61,7 +61,7 @@ # define STATIC_ASSERT_STATEMENT(cond, msg) _Static_assert(cond, msg) // if we're dealing with gcc >= 4.6 in C99 mode, we can still use // _Static_assert but we need to suppress warnings, this is pretty ugly. -#elif (!defined(__clang__) && !defined(__INTEL_COMPILER)) && \ +#elif (!defined(__clang__) && !defined(__INTEL_COMPILER)) && /* NOLINT(whitespace/parens)*/ \ (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) # define STATIC_ASSERT_STATEMENT(cond, msg) _Static_assert(cond, msg) |