diff options
author | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2023-06-17 17:58:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-17 17:58:00 +0200 |
commit | 0152f25489fa1d39da1ece0bb800c0204ae654ce (patch) | |
tree | 4c52dc6cb2da0c99e3e6badaa8e544534525e9b2 /manual/contributing.rst | |
parent | 071fe4a0e5c7e6abd6725552d1bf0b6119bce1c9 (diff) | |
parent | 1d979adde53c3a473c274c39af7f1925ba07e45d (diff) | |
download | qpdf-0152f25489fa1d39da1ece0bb800c0204ae654ce.tar.zst |
Merge pull request #991 from jberkenbilt/clang-format-version
Bump minimum clang-format version to 16
Diffstat (limited to 'manual/contributing.rst')
-rw-r--r-- | manual/contributing.rst | 11 |
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 |