diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-12-22 13:32:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-22 13:32:46 +0800 |
commit | ba0fa4fa197330687b06c74a50b2ccd4800f5881 (patch) | |
tree | 13c4be404f1a3e3480a555d06ff627cb6002c5c4 /src/nvim/api/private | |
parent | 089b934352437ab310a6dd3b138c7ed9445a3d7b (diff) | |
download | rneovim-ba0fa4fa197330687b06c74a50b2ccd4800f5881.tar.gz rneovim-ba0fa4fa197330687b06c74a50b2ccd4800f5881.tar.bz2 rneovim-ba0fa4fa197330687b06c74a50b2ccd4800f5881.zip |
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.
Diffstat (limited to 'src/nvim/api/private')
-rw-r--r-- | src/nvim/api/private/dispatch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/api/private/dispatch.h b/src/nvim/api/private/dispatch.h index d322c1ceca..9b167a7b9e 100644 --- a/src/nvim/api/private/dispatch.h +++ b/src/nvim/api/private/dispatch.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" // 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 |