refactor: run IWYU on entire repo

Reference: https://github.com/neovim/neovim/issues/6371.
This commit is contained in:
dundargoc
2023-12-18 10:55:23 +01:00
committed by dundargoc
parent ade42d531b
commit af93a74a0f
123 changed files with 314 additions and 462 deletions

View File

@@ -1,6 +1,6 @@
#pragma once
#include "nvim/api/private/defs.h" // IWYU pragma: keep
#include "nvim/api/private/defs.h" // IWYU pragma: export
#include "nvim/eval/typval_defs.h" // IWYU pragma: keep
#ifdef INCLUDE_GENERATED_DECLARATIONS

View File

@@ -3,7 +3,7 @@
#include <stdbool.h>
#include <stdint.h>
#include "nvim/api/private/defs.h"
#include "nvim/api/private/defs.h" // IWYU pragma: export
#include "nvim/memory_defs.h"
#include "nvim/types_defs.h"

View File

@@ -4,7 +4,7 @@
#include <stddef.h>
#include "klib/kvec.h"
#include "nvim/api/private/defs.h"
#include "nvim/api/private/defs.h" // IWYU pragma: export
#include "nvim/buffer_defs.h" // IWYU pragma: keep
#include "nvim/eval/typval_defs.h" // IWYU pragma: keep
#include "nvim/ex_eval_defs.h"

View File

@@ -3,7 +3,7 @@
#include <stdbool.h>
#include <stddef.h>
#include "nvim/api/private/defs.h"
#include "nvim/api/private/defs.h" // IWYU pragma: export
#include "nvim/api/private/helpers.h"
#include "nvim/assert_defs.h"
#include "nvim/macros_defs.h"

View File

@@ -15,7 +15,8 @@
#include "nvim/autocmd.h"
#include "nvim/channel.h"
#include "nvim/eval.h"
#include "nvim/event/defs.h"
#include "nvim/event/loop.h"
#include "nvim/event/multiqueue.h"
#include "nvim/event/wstream.h"
#include "nvim/globals.h"
#include "nvim/grid.h"

View File

@@ -64,6 +64,7 @@
#include "nvim/statusline.h"
#include "nvim/strings.h"
#include "nvim/terminal.h"
#include "nvim/types_defs.h"
#include "nvim/ui.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"