From 154bf7acb9e2c191c3f6a25fe3cbd7fff2e3e162 Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Sun, 10 Mar 2024 12:25:00 +0100 Subject: [PATCH] check-style: Add clang-format-18 to list of supported versions --- doc/contributing/source/coding-style.rst | 1 + utils/check-style-clang-format.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/contributing/source/coding-style.rst b/doc/contributing/source/coding-style.rst index 664afc576..c705cd01f 100644 --- a/doc/contributing/source/coding-style.rst +++ b/doc/contributing/source/coding-style.rst @@ -43,6 +43,7 @@ previous versions. The following list contains the set of clang-format versions that are verified to produce consistent output among themselves. +* clang-format-18 * clang-format-17 * clang-format-16 * clang-format-15 diff --git a/utils/check-style-clang-format.py b/utils/check-style-clang-format.py index 73593a52c..f3e79d0e0 100755 --- a/utils/check-style-clang-format.py +++ b/utils/check-style-clang-format.py @@ -41,7 +41,7 @@ from typing import Callable, Dict, List, Tuple ########################################################### # PARAMETERS ########################################################### -CLANG_FORMAT_MAX_VERSION = 17 +CLANG_FORMAT_MAX_VERSION = 18 CLANG_FORMAT_MIN_VERSION = 15 FORMAT_GUARD_ON = [