From 1d979adde53c3a473c274c39af7f1925ba07e45d Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 17 Jun 2023 11:45:06 -0400 Subject: Bump minimum clang-format version to 16 Also enforce in format-code. --- manual/contributing.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'manual/contributing.rst') 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 -- cgit v1.2.3-54-g00ecf