From 073466e93507d025d95798ba2c6cb8f77758916d Mon Sep 17 00:00:00 2001 From: Tilen Majerle Date: Tue, 25 Mar 2025 17:34:27 +0100 Subject: [PATCH] format: remove the Cpp explicit to support C and Cpp for clang-format >= 20.1 --- .clang-format | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index 0227352..4c4487e 100644 --- a/.clang-format +++ b/.clang-format @@ -1,5 +1,8 @@ +# Language part removed. With clang-format >=20.1, the C and Cpp are separately handled, +# so either there is no language at all, or we need to create 2 formats for C and Cpp, separately + --- -Language: Cpp +# Language: Cpp # BasedOnStyle: LLVM AccessModifierOffset: -2 AlignAfterOpenBracket: Align