Skip to content

Commit

Permalink
Force configuration with clang for IWYU runs
Browse files Browse the repository at this point in the history
This reduces the noise caused by incompatible attribute definitions between GCC/Clang.
  • Loading branch information
BenBE committed Dec 26, 2023
1 parent 2aacbf8 commit d0a57b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iwyu/run_iwyu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ IWYU=${IWYU:-iwyu}

cd "$SOURCEDIR" || exit

./configure CC=clang CXX=clang++ --enable-silent-rules
make clean
make -k -s CC="$IWYU" CFLAGS="-Xiwyu --no_comments -Xiwyu --no_fwd_decl -Xiwyu --mapping_file='$SCRIPTDIR/htop.imp' $PKG_NL3"

0 comments on commit d0a57b6

Please sign in to comment.