Skip to content

Commit 528dfe3

Browse files
committed
STYLE: Update clang-format to match ITK 2025-11-10
1 parent ccd08d9 commit 528dfe3

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@v1
10+
- uses: actions/checkout@v5
11+
12+
- uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@main
1113
with:
12-
fetch-depth: 1
13-
- uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master
14+
itk-branch: main

0 commit comments

Comments
 (0)