switch to clang-format-4.0

clang-format-3.8 is old enough to have vanished from Debian testing, which we
use for our CI.
This commit is contained in:
Michael Stapelberg
2018-11-03 09:16:16 +01:00
parent f16afef7b3
commit eedb257655
6 changed files with 10 additions and 10 deletions

View File

@ -3,4 +3,4 @@
set -e
set -x
clang-format-3.8 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)
clang-format-4.0 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)