mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 02:34:59 -07:00
build: fix or silence new clang-tidy warnings
This commit is contained in:
parent
f3b7444e66
commit
046e0956ee
@ -35,6 +35,7 @@ Checks: >
|
|||||||
-modernize-macro-to-enum,
|
-modernize-macro-to-enum,
|
||||||
-readability-avoid-nested-conditional-operator,
|
-readability-avoid-nested-conditional-operator,
|
||||||
-readability-else-after-return,
|
-readability-else-after-return,
|
||||||
|
-readability-enum-initial-value,
|
||||||
-readability-function-size,
|
-readability-function-size,
|
||||||
-readability-isolate-declaration,
|
-readability-isolate-declaration,
|
||||||
|
|
||||||
@ -56,6 +57,7 @@ Checks: >
|
|||||||
-readability-function-cognitive-complexity,
|
-readability-function-cognitive-complexity,
|
||||||
-readability-identifier-length,
|
-readability-identifier-length,
|
||||||
-readability-magic-numbers,
|
-readability-magic-numbers,
|
||||||
|
-readability-math-missing-parentheses,
|
||||||
-readability-redundant-declaration, Conflicts with our header generation scripts,
|
-readability-redundant-declaration, Conflicts with our header generation scripts,
|
||||||
-readability-suspicious-call-argument,
|
-readability-suspicious-call-argument,
|
||||||
|
|
||||||
@ -65,6 +67,7 @@ Checks: >
|
|||||||
-cert-dcl51-cpp,
|
-cert-dcl51-cpp,
|
||||||
-cert-exp42-c,
|
-cert-exp42-c,
|
||||||
-cert-flp37-c,
|
-cert-flp37-c,
|
||||||
|
-cert-int09-c,
|
||||||
-cert-msc24-c,
|
-cert-msc24-c,
|
||||||
-cert-msc33-c,
|
-cert-msc33-c,
|
||||||
-cppcoreguidelines-avoid-magic-numbers,
|
-cppcoreguidelines-avoid-magic-numbers,
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
typedef void *WatcherPtr;
|
typedef void *WatcherPtr;
|
||||||
|
|
||||||
#define _NOOP(x)
|
#define NOOP(x)
|
||||||
KLIST_INIT(WatcherPtr, WatcherPtr, _NOOP)
|
KLIST_INIT(WatcherPtr, WatcherPtr, NOOP)
|
||||||
|
|
||||||
struct loop {
|
struct loop {
|
||||||
uv_loop_t uv;
|
uv_loop_t uv;
|
||||||
|
Loading…
Reference in New Issue
Block a user