refactor: move non-symbols to defs.h headers

This commit is contained in:
dundargoc
2023-12-12 15:40:21 +01:00
committed by dundargoc
parent c0cb1e8e94
commit 69bc519b53
79 changed files with 514 additions and 478 deletions

View File

@@ -900,12 +900,12 @@ def CheckIncludes(filename, lines, error):
# These should be synced with the ignored headers in the `iwyu` target in
# the Makefile.
check_includes_ignore = [
"src/nvim/api/private/helpers.h",
"src/nvim/api/private/validate.h",
"src/nvim/assert_defs.h",
"src/nvim/buffer.h",
"src/nvim/buffer_defs.h",
"src/nvim/channel.h",
"src/nvim/channel_defs.h",
"src/nvim/charset.h",
"src/nvim/drawline.h",
"src/nvim/eval.h",
@@ -916,7 +916,6 @@ def CheckIncludes(filename, lines, error):
"src/nvim/eval/window.h",
"src/nvim/event/libuv_process.h",
"src/nvim/event/loop.h",
"src/nvim/event/multiqueue.h",
"src/nvim/event/process.h",
"src/nvim/event/rstream.h",
"src/nvim/event/signal.h",
@@ -932,8 +931,6 @@ def CheckIncludes(filename, lines, error):
"src/nvim/keycodes.h",
"src/nvim/lua/executor.h",
"src/nvim/main.h",
"src/nvim/mark.h",
"src/nvim/msgpack_rpc/channel.h",
"src/nvim/msgpack_rpc/channel_defs.h",
"src/nvim/msgpack_rpc/helpers.h",
"src/nvim/msgpack_rpc/unpacker.h",
@@ -949,10 +946,12 @@ def CheckIncludes(filename, lines, error):
]
skip_headers = [
"klib/kvec.h",
"klib/klist.h",
"auto/config.h",
"nvim/func_attr.h"
"klib/klist.h",
"klib/kvec.h",
"nvim/func_attr.h",
"nvim/gettext.h",
"nvim/globals.h"
]
for i in check_includes_ignore: