Skip to content

Commit bd4f7b2

Browse files
committed
format: remove the Cpp explicit to support C and Cpp for clang-format >= 20.1
1 parent 980f2ae commit bd4f7b2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.clang-format

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
# Language part removed. With clang-format >=20.1, the C and Cpp are separately handled,
2+
# so either there is no language at all, or we need to create 2 formats for C and Cpp, separately
3+
14
---
2-
Language: Cpp
5+
# Language: Cpp
36
# BasedOnStyle: LLVM
47
AccessModifierOffset: -2
58
AlignAfterOpenBracket: Align

0 commit comments

Comments
 (0)