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:
@ -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)
|
||||
|
Reference in New Issue
Block a user