Skip to content

Commit

Permalink
Print clang-format version
Browse files Browse the repository at this point in the history
  • Loading branch information
samueltardieu committed Jan 18, 2024
1 parent 0012627 commit 6c05252
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc/fix-style
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set -e

if [ "x$1" = "x--check" ]; then
check="-n -Werror"
echo "Using $(clang-format --version)"
fi

git ls-files | grep '\.[ch]$' | xargs -n 100 clang-format -i $check

0 comments on commit 6c05252

Please sign in to comment.