There are cases when a modules certain header files need some other include search path than the single assumeFile provides This is visible when one runs in the --finderrors mode and the detailed IWYU run complains like: include/oox/export/drawingml.hxx:39:10: fatal error: 'oox/token/tokens.hxx' file not found Solve this by introducing assumeDirs in the yaml files, which provides a different assumeFile for headers in certain directories Demo on vcl/inc/qt[56] and sw/source/writerfilter; also with fixing the few identified non-self contained headers there Change-Id: Idf7cc38fe7d96d89dabcad9d5abd65283622ab96 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192748 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Tools and Non-Build Scripts
Tools and scripts mostly not used during the build
This direction has a number of key pieces (?) that are used during the
build, or are simply generally useful. One example is bin/run.
This utility can be used to run the executables in this folder:
workdir/LinkTarget/Executable
Format of the usage is:
./bin/run application [parameters]|--list|--help
Use --list (same as -list or -l) to get the list of executables Use --help (same as -help or -h) to get this help
Another example is:
bin/find-german-comments <directory>
which will try to detect and extract all the German comments in a
given source code hierarchy / directory.
Please note that the associated issue tdf#39468 is now marked as RESOLVED/FIXED, so don't expect many German comments.