Skip to content

Commit bcb4eb2

Browse files
committed
Updates to clang-format 20 and sets as default
Adds clang-format 20 binaries and configures the action to use version 20 by default. This ensures that the latest formatting rules are applied.
1 parent 5580900 commit bcb4eb2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Diff for: README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Example: 'cpp,h'
3434

3535
What clang-format version should be used.\
3636
Available version are\
37-
5,6,7,8,9,10,11(11.0.0),11.0.0, 11.1.0, 12(12.0.1), 12.0.0, 12.0.1, 13(13.0.0), 13.0.0, 14(14.0.0), 14.0.0, 15(15.0.2), 15.0.2, 16(16.0.3), 16.0.0, 16.0.3, 17(17.0.4), 17.0.4, 18(18.1.8), 18.1.3, 18.1.8, 19\
38-
Default: 18\
37+
5,6,7,8,9,10,11(11.0.0),11.0.0, 11.1.0, 12(12.0.1), 12.0.0, 12.0.1, 13(13.0.0), 13.0.0, 14(14.0.0), 14.0.0, 15(15.0.2), 15.0.2, 16(16.0.3), 16.0.0, 16.0.3, 17(17.0.4), 17.0.4, 18(18.1.8), 18.1.3, 18.1.8, 19, 20\
38+
Default: 20\
3939
Example: 15
4040

4141
### `style`
@@ -64,12 +64,12 @@ jobs:
6464

6565
steps:
6666
- uses: actions/checkout@v2
67-
- uses: DoozyX/clang-format-lint-action@v0.18.1
67+
- uses: DoozyX/clang-format-lint-action@v0.20
6868
with:
6969
source: '.'
7070
exclude: './lib'
7171
extensions: 'h,cpp,c'
72-
clangFormatVersion: 16
72+
clangFormatVersion: 20
7373
inplace: True
7474
- uses: EndBug/add-and-commit@v9
7575
with:
@@ -93,12 +93,12 @@ jobs:
9393

9494
steps:
9595
- uses: actions/checkout@v2
96-
- uses: DoozyX/clang-format-lint-action@v0.18.1
96+
- uses: DoozyX/clang-format-lint-action@v0.20
9797
with:
9898
source: '.'
9999
exclude: './third_party ./external'
100100
extensions: 'h,cpp'
101-
clangFormatVersion: 18
101+
clangFormatVersion: 20
102102
style: chromium
103103
```
104104

Diff for: clang-format/clang-format19

0 Bytes
Binary file not shown.

Diff for: clang-format/clang-format20

4.06 MB
Binary file not shown.

0 commit comments

Comments
 (0)