Skip to content

Commit 21531e9

Browse files
committed
STYLE: Update clang-format to match ITK 2025-11-10
1 parent 6709575 commit 21531e9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ StatementMacros:
297297
- ITK_CLANG_PRAGMA_PUSH
298298
- ITK_CLANG_PRAGMA_POP
299299
- ITK_CLANG_SUPPRESS_Wzero_as_null_pointer_constant
300+
- ITK_CLANG_SUPPRESS_Wduplicate_enum
300301
- CLANG_PRAGMA_PUSH
301302
- CLANG_PRAGMA_POP
302303
- CLANG_SUPPRESS_Wfloat_equal

.github/workflows/clang-format-linter.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v5
1111

12-
- uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master
13-
12+
- uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@main
13+
with:
14+
itk-branch: main

0 commit comments

Comments
 (0)