[PATCH v6 01/50] devtools: script to remove unused headers includes
Thomas Monjalon
thomas at monjalon.net
Wed Feb 2 14:14:22 CET 2022
02/02/2022 10:47, Sean Morrissey:
> This script can be used for removing headers flagged for removal by the
> include-what-you-use (IWYU) tool. The script has the ability to remove
> headers from specified sub-directories or dpdk as a whole and tests the
> build after each removal by calling meson compile.
>
> example usages:
>
> Remove headers flagged by iwyu_tool output file
> $ ./devtools/process_iwyu.py iwyu.out -b build
>
> Remove headers flagged by iwyu_tool output file from sub-directory
> $ ./devtools/process_iwyu.py iwyu.out -b build -d lib/kvargs
>
> Remove headers directly piped from the iwyu_tool
> $ iwyu_tool -p build | ./devtools/process_iwyu.py - -b build
>
> Signed-off-by: Sean Morrissey <sean.morrissey at intel.com>
> Signed-off-by: Conor Fogarty <conor.fogarty at intel.com>
>
> Reviewed-by: Bruce Richardson <bruce.richardson at intel.com>
Same comment as in v5:
Please no blank line between names.
There is still a compilation error:
http://mails.dpdk.org/archives/test-report/2022-February/256520.html
More information about the dev
mailing list