mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 18:06:30 +00:00
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
This commit is contained in:
@@ -25,14 +25,9 @@
|
||||
|
||||
#define _RINGBUF_LENGTH(rb) \
|
||||
((rb)->first == NULL ? 0 \
|
||||
: ((rb)->next == (rb)->first) ? (size_t)((rb)->buf_end - (rb)->buf) + 1 \
|
||||
: ((rb)->next > \
|
||||
(rb)->first) ? (size_t)((rb)->next - \
|
||||
(rb)->first) \
|
||||
: (size_t)((rb)-> \
|
||||
next - (rb)->buf + \
|
||||
(rb)->buf_end - \
|
||||
(rb)->first + 1))
|
||||
: ((rb)->next == (rb)->first) ? (size_t)((rb)->buf_end - (rb)->buf) + 1 \
|
||||
: ((rb)->next > (rb)->first) ? (size_t)((rb)->next - (rb)->first) \
|
||||
: (size_t)((rb)->next - (rb)->buf + (rb)->buf_end - (rb)->first + 1))
|
||||
|
||||
#define _RINGBUF_NEXT(rb, var) \
|
||||
((var) == (rb)->buf_end ? (rb)->buf : (var) + 1)
|
||||
|
Reference in New Issue
Block a user