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:
zeertzjq
2023-12-22 13:32:46 +08:00
committed by GitHub
parent 089b934352
commit ba0fa4fa19
8 changed files with 30 additions and 13 deletions

View File

@@ -2,7 +2,6 @@
// - Put it in options.lua
// - For a global option: Add a variable for it in option_vars.h.
// - For a buffer or window local option:
// - Add a BV_XX or WV_XX entry to option_vars.h
// - Add a variable to the window or buffer struct in buffer_defs.h.
// - For a window option, add some code to copy_winopt().
// - For a window string option, add code to check_winopt()