mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
build(IWYU): export generated headers
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "nvim/api/autocmd.h"
|
||||
#include "nvim/api/keysets.h"
|
||||
#include "nvim/api/private/defs.h"
|
||||
#include "nvim/api/private/dispatch.h"
|
||||
#include "nvim/api/private/helpers.h"
|
||||
#include "nvim/api/private/validate.h"
|
||||
#include "nvim/autocmd.h"
|
||||
|
@@ -8,6 +8,7 @@
|
||||
#include "nvim/api/extmark.h"
|
||||
#include "nvim/api/keysets.h"
|
||||
#include "nvim/api/private/defs.h"
|
||||
#include "nvim/api/private/dispatch.h"
|
||||
#include "nvim/api/private/helpers.h"
|
||||
#include "nvim/api/private/validate.h"
|
||||
#include "nvim/buffer_defs.h"
|
||||
|
@@ -5,6 +5,7 @@
|
||||
#include "nvim/api/keysets.h"
|
||||
#include "nvim/api/options.h"
|
||||
#include "nvim/api/private/defs.h"
|
||||
#include "nvim/api/private/dispatch.h"
|
||||
#include "nvim/api/private/helpers.h"
|
||||
#include "nvim/api/private/validate.h"
|
||||
#include "nvim/autocmd.h"
|
||||
|
@@ -26,6 +26,6 @@ extern const MsgpackRpcRequestHandler method_handlers[];
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "api/private/dispatch.h.generated.h"
|
||||
# include "api/private/dispatch_wrappers.h.generated.h"
|
||||
# include "api/private/dispatch_wrappers.h.generated.h" // IWYU pragma: export
|
||||
# include "keysets_defs.generated.h"
|
||||
#endif
|
||||
|
@@ -10,5 +10,5 @@
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "api/ui.h.generated.h"
|
||||
# include "ui_events_remote.h.generated.h"
|
||||
# include "ui_events_remote.h.generated.h" // IWYU pragma: export
|
||||
#endif
|
||||
|
@@ -5,6 +5,7 @@
|
||||
#include "nvim/api/extmark.h"
|
||||
#include "nvim/api/keysets.h"
|
||||
#include "nvim/api/private/defs.h"
|
||||
#include "nvim/api/private/dispatch.h"
|
||||
#include "nvim/api/private/helpers.h"
|
||||
#include "nvim/api/win_config.h"
|
||||
#include "nvim/ascii.h"
|
||||
|
@@ -5,6 +5,7 @@
|
||||
|
||||
#include "nvim/api/keysets.h"
|
||||
#include "nvim/api/private/defs.h"
|
||||
#include "nvim/api/private/dispatch.h"
|
||||
#include "nvim/api/private/helpers.h"
|
||||
#include "nvim/api/private/validate.h"
|
||||
#include "nvim/api/window.h"
|
||||
|
@@ -10,6 +10,7 @@
|
||||
#include "klib/kvec.h"
|
||||
#include "nvim/api/keysets.h"
|
||||
#include "nvim/api/private/defs.h"
|
||||
#include "nvim/api/private/dispatch.h"
|
||||
#include "nvim/api/private/helpers.h"
|
||||
#include "nvim/api/private/validate.h"
|
||||
#include "nvim/ascii.h"
|
||||
|
@@ -13,6 +13,7 @@
|
||||
#include "nvim/api/keysets.h"
|
||||
#include "nvim/api/private/converter.h"
|
||||
#include "nvim/api/private/defs.h"
|
||||
#include "nvim/api/private/dispatch.h"
|
||||
#include "nvim/api/private/helpers.h"
|
||||
#include "nvim/ascii.h"
|
||||
#include "nvim/buffer_defs.h"
|
||||
|
@@ -11,10 +11,12 @@
|
||||
#include "nvim/os/stdpaths_defs.h" // IWYU pragma: keep
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
// IWYU pragma: begin_exports
|
||||
# include "os/env.h.generated.h"
|
||||
# include "os/mem.h.generated.h"
|
||||
# include "os/stdpaths.h.generated.h"
|
||||
# include "os/users.h.generated.h"
|
||||
// IWYU pragma: end_exports
|
||||
#endif
|
||||
|
||||
#define ENV_LOGFILE "NVIM_LOG_FILE"
|
||||
|
@@ -122,7 +122,7 @@ typedef struct ui_event_callback {
|
||||
// uncrustify:off
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "ui.h.generated.h"
|
||||
# include "ui_events_call.h.generated.h"
|
||||
# include "ui_events_call.h.generated.h" // IWYU pragma: export
|
||||
#endif
|
||||
// uncrustify:on
|
||||
|
||||
|
@@ -39,6 +39,6 @@ EXTERN bool ui_client_forward_stdin INIT( = false);
|
||||
// uncrustify:off
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "ui_client.h.generated.h"
|
||||
# include "ui_events_client.h.generated.h"
|
||||
# include "ui_events_client.h.generated.h" // IWYU pragma: export
|
||||
#endif
|
||||
// uncrustify:on
|
||||
|
Reference in New Issue
Block a user