mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-01 12:43:47 +00:00
[clang] Improve CI output when trailing whitespace is found (#66649)
Fixes #66468
This commit is contained in:
parent
e7a7a16901
commit
6af2674597
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user