aboutsummaryrefslogtreecommitdiffstats
path: root/manual/contributing.rst
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-06-17 17:45:06 +0200
committerJay Berkenbilt <ejb@ql.org>2023-06-17 17:45:06 +0200
commit1d979adde53c3a473c274c39af7f1925ba07e45d (patch)
tree377d0c072faf12f6ab9d9afe744e0b5e6e280ed9 /manual/contributing.rst
parent21612165c6c1b49b88786c0232215f2e894254ea (diff)
downloadqpdf-1d979adde53c3a473c274c39af7f1925ba07e45d.tar.zst
Bump minimum clang-format version to 16
Also enforce in format-code.
Diffstat (limited to 'manual/contributing.rst')
-rw-r--r--manual/contributing.rst11
1 files changed, 7 insertions, 4 deletions
diff --git a/manual/contributing.rst b/manual/contributing.rst
index 0fb376e6..e0565872 100644
--- a/manual/contributing.rst
+++ b/manual/contributing.rst
@@ -20,11 +20,14 @@ https://github.com/qpdf/qpdf/discussions.
Code Formatting
---------------
-The qpdf source code is formatting using clang-format ≥ version 15
-with a :file:`.clang-format` file at the top of the source tree. The
+.. The minimum clang-format version is also in format-code. There is a
+ comment there that references this file.
+
+The qpdf source code is formatted using clang-format with a
+:file:`.clang-format` file at the top of the source tree. The
:file:`format-code` script reformats all the source code in the
-repository. You must have ``clang-format`` in your path, and it must be
-at least version 15.
+repository. You must have ``clang-format`` in your path, and it must
+be at least version 16.
For emacs users, the :file:`.dir-locals.el` file configures emacs
``cc-mode`` for an indentation style that is similar to but not