Skip to content

Commit

Permalink
[clang] Improve CI output when trailing whitespace is found (#66649)
Browse files Browse the repository at this point in the history
Fixes #66468
  • Loading branch information
ldionne committed Sep 19, 2023
1 parent e7a7a16 commit 6af2674
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion clang/utils/ci/run-buildbot
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ ninja --version

case "${BUILDER}" in
check-format)
! grep -rnI '[[:blank:]]$' clang/lib clang/include clang/docs
echo "*** Checking for trailing whitespace left in Clang source files ***"
if grep -rnI '[[:blank:]]$' clang/lib clang/include clang/docs; then
echo "*** Trailing whitespace has been found in Clang source files as described above ***"
exit 1
fi
;;
build-clang)
mkdir install
Expand Down

0 comments on commit 6af2674

Please sign in to comment.