Skip to content

[RFC] Run include-what-you-use

Harish Krupo requested to merge harishkrupo/weston:iwyu into main

Generated the header using the command: cd build/; iwyu_tool.py -p . -- -Xiwyu --no_fwd_decls -Xiwyu --keep="*/../config.h" &> headers.txt; fix_includes.py < headers.txt

The default fix_includes.py available with iwyu sorts config.h after the <> includes. Modified the code to ensure config.h is always added at the top. Modified code

Fixes: #226 Signed-off-by: Harish Krupo harishkrupo@gmail.com

Merge request reports