aboutsummaryrefslogtreecommitdiffstats
path: root/format-code
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-12-23 03:45:10 +0100
committerJay Berkenbilt <ejb@ql.org>2023-12-23 03:45:10 +0100
commit7c0fdf8510fbc09a6a8f872d1c95f1d6e1709f28 (patch)
tree27e95477224c614b8da1d15380903c49bc527ee7 /format-code
parentc0c7cef16cb666524e4809834063cfee5262eca1 (diff)
downloadqpdf-7c0fdf8510fbc09a6a8f872d1c95f1d6e1709f28.tar.zst
Format code, bump clang-format version to 18
Diffstat (limited to 'format-code')
-rwxr-xr-xformat-code2
1 files changed, 1 insertions, 1 deletions
diff --git a/format-code b/format-code
index 295c5d05..b2e72364 100755
--- a/format-code
+++ b/format-code
@@ -23,7 +23,7 @@
# are improvements, bump the minimum required version of clang-format
# here, and update manual/contributing.rst. There's a comment there
# that refers to this comment. See also .clang-format.
-min_version=16
+min_version=18
clang_version=$(clang-format --version | \
awk '{for (i=1; i<=NF; i++) if ($i == "version") {print int($(i+1)); exit}}')