summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-08-30 00:17:24 +0200
committerLéo Lam <leo@leolam.fr>2021-08-30 00:20:18 +0200
commit815b590dfe1a383ca3f5da6bad1b1da7ed29834c (patch)
tree1710dd420adb172539668b1ab5b3239a4eddc67e /Tools
parent006fc99e8e6c475bcdbb17d79000681f3892d67e (diff)
Update clang-format to version 12
12 is the latest release and various editors (VS, VSCode and CLion) ship with clang-format 12 by default.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/lint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/lint.sh b/Tools/lint.sh
index 75dcd7c325..51ea86d595 100755
--- a/Tools/lint.sh
+++ b/Tools/lint.sh
@@ -9,7 +9,7 @@ if ! [ -x "$(command -v git)" ]; then
exit 1
fi
-REQUIRED_CLANG_FORMAT_MAJOR=10
+REQUIRED_CLANG_FORMAT_MAJOR=12
REQUIRED_CLANG_FORMAT_MINOR=0
CLANG_FORMAT=clang-format
CLANG_FORMAT_MAJOR=clang-format-${REQUIRED_CLANG_FORMAT_MAJOR}