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

@@ -27,7 +27,7 @@ EXTERN const char *ui_ext_names[] INIT( = {
// uncrustify:off
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "ui.h.generated.h"
# include "ui_events_call.h.generated.h" // IWYU pragma: export
# include "ui_events_call.h.generated.h"
#endif
// uncrustify:on