summaryrefslogtreecommitdiffstats
path: root/iwyu
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-19 12:05:06 +0200
committercgzones <cgzones@googlemail.com>2020-10-20 21:44:25 +0200
commit8a08a3209c093f9b1137ec5879d3804026b0df6e (patch)
tree88b8ceda524a300c9df221ac58f18427b9f98ef7 /iwyu
parent803234a58d12b23cbc700a14b50e57764718f5a5 (diff)
IWYU update
- Add Settings forward declaration in Process.h - Add assert.h include in XUitls.c - Add conditional stdbool.h include in Object.h - Drop unneeded stddef.h include in Richstring.c - Drop unneeded unistd.h include in Process.h - Drop unneeded string.h include in linux/Platform.c - Use String_eq to avoid string.h include in Action.c - Improve script to run custom iwyu version
Diffstat (limited to 'iwyu')
-rwxr-xr-xiwyu/run_iwyu.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/iwyu/run_iwyu.sh b/iwyu/run_iwyu.sh
index 83d2c484..37843dcf 100755
--- a/iwyu/run_iwyu.sh
+++ b/iwyu/run_iwyu.sh
@@ -6,7 +6,9 @@ SOURCEDIR="$SCRIPTDIR/.."
PKG_NL3=$(pkg-config --cflags libnl-3.0)
-cd "$SOURCEDIR"
+IWYU=${IWYU:-iwyu}
+
+cd "$SOURCEDIR" || exit
make clean
-make -k CC="iwyu" CFLAGS="-Xiwyu --no_comments -Xiwyu --no_fwd_decl -Xiwyu --mapping_file='$SCRIPTDIR/htop.imp' $PKG_NL3"
+make --keep-going --silent CC="$IWYU" CFLAGS="-Xiwyu --no_comments -Xiwyu --no_fwd_decl -Xiwyu --mapping_file='$SCRIPTDIR/htop.imp' $PKG_NL3"

© 2014-2024 Faster IT GmbH | imprint | privacy policy