[PATCH] clang-format: Fix language setting

2 views
Skip to first unread message

Storm, Christian

unread,
Mar 17, 2025, 11:39:17 AMMar 17
to efibootg...@googlegroups.com
From: Christian Storm <christi...@siemens.com>

The clang-format 19.x series subsumes C and C++ under the
Language: Cpp setting. Newer ones, e.g., 21.x, separate
the languages into Cpp and C. Unfortunately, that change
isn't backwards compatible.

So, either clang-format 19.x or newer ones can be pleased,
while both are happy with removing the setting altogether.
Then, the .clang-format settings apply to all languages
which is fine for EBG.

Signed-off-by: Christian Storm <christi...@siemens.com>
---
.clang-format | 1 -
1 file changed, 1 deletion(-)

diff --git a/.clang-format b/.clang-format
index 543bb81..10cd185 100644
--- a/.clang-format
+++ b/.clang-format
@@ -9,7 +9,6 @@ BreakBeforeBraces: Linux
ColumnLimit: 80
DerivePointerAlignment: false
IndentWidth: 8
-Language: Cpp
PointerAlignment: Right
ReflowComments: true
SortIncludes: false
--
2.49.0

Jan Kiszka

unread,
Mar 18, 2025, 6:25:48 AMMar 18
to Storm, Christian, efibootg...@googlegroups.com
Thanks, applied.

Jan

--
Siemens AG, Foundational Technologies
Linux Expert Center
Reply all
Reply to author
Forward
0 new messages