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 = [