summaryrefslogtreecommitdiff
path: root/tests/test-format.sh
diff options
context:
space:
mode:
authorFinlay Davidson <finlay.davidson@coderclass.nl>2023-01-03 14:05:30 +0000
committerJF <JF002@users.noreply.github.com>2023-01-04 17:15:33 +0100
commiteda96ffadc824742bf937c58f5295c86389a6d5e (patch)
tree1780b2fff3719f721c534cee192d28da945c9ff9 /tests/test-format.sh
parent318a243df1ad844ed487b936eb7edde876fc5ef6 (diff)
Update clang-{format,tidy} to 14
Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
Diffstat (limited to 'tests/test-format.sh')
-rwxr-xr-xtests/test-format.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-format.sh b/tests/test-format.sh
index fd3201d0..693377b9 100755
--- a/tests/test-format.sh
+++ b/tests/test-format.sh
@@ -20,7 +20,7 @@ do
*.cpp|*.h)
echo Checking "$file"
PATCH="$(basename "$file").patch"
- git clang-format-12 -q --style file --diff "$GITHUB_BASE_REF" "$file" > "$PATCH"
+ git clang-format-14 -q --style file --diff "$GITHUB_BASE_REF" "$file" > "$PATCH"
if [ -s "$PATCH" ]
then
printf "\033[31mError:\033[0m Formatting error in %s\n" "$file"