mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
refactor(IWYU): add "private" pragma to more generated headers (#26706)
"export" only prevents IWYU from adding these headers if the headers that export them are included, while "private" ensures that IWYU never adds these headers.
This commit is contained in:
@@ -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" // IWYU pragma: export
|
||||
# include "keysets_defs.generated.h" // IWYU pragma: export
|
||||
# include "api/private/dispatch_wrappers.h.generated.h"
|
||||
# include "keysets_defs.generated.h"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user