clang-format, ci: Raise minimum clang-format version to 20

This commit is contained in:
Eduardo Almeida
2025-09-27 18:11:05 +01:00
parent dbcb7bf896
commit c048975b1d
2 changed files with 8 additions and 8 deletions

View File

@@ -41,8 +41,8 @@ from typing import Callable, Dict, List, Tuple
###########################################################
# PARAMETERS
###########################################################
CLANG_FORMAT_MAX_VERSION = 19
CLANG_FORMAT_MIN_VERSION = 15
CLANG_FORMAT_MAX_VERSION = 20
CLANG_FORMAT_MIN_VERSION = 20
FORMAT_GUARD_ON = [
"// clang-format on",

View File

@@ -20,15 +20,15 @@
script:
- python3 utils/check-style-clang-format.py --verbose .
check-style-clang-format-19:
check-style-clang-format-20:
extends: .check-style-clang-format
variables:
CLANG_FORMAT_VERSION: 19
CLANG_FORMAT_VERSION: 20
check-style-clang-format-15:
extends: .check-style-clang-format
variables:
CLANG_FORMAT_VERSION: 15
# check-style-clang-format-21:
# extends: .check-style-clang-format
# variables:
# CLANG_FORMAT_VERSION: 21
# Clang-tidy
clang-tidy-19: