From 6d3e550ba6984894eba852ed2c29acfc3a141673 Mon Sep 17 00:00:00 2001 From: Matthew McCormick Date: Fri, 20 Dec 2024 15:53:20 -0500 Subject: [PATCH 1/2] COMP: Use .clang-format from release-5.4 branch --- .github/workflows/clang-format-linter.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/clang-format-linter.yml b/.github/workflows/clang-format-linter.yml index 9cf9c6cb463..4a9d9058f93 100644 --- a/.github/workflows/clang-format-linter.yml +++ b/.github/workflows/clang-format-linter.yml @@ -14,3 +14,4 @@ jobs: - uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master with: error-message: 'Code is inconsistent with ITK Coding Style. Add the *action:ApplyClangFormat* PR label to correct.' + itk-branch: release-5.4 From a54a6455e3b55f86a15ea9bd7e8ab750ee93a87b Mon Sep 17 00:00:00 2001 From: Matthew McCormick Date: Fri, 20 Dec 2024 17:59:15 -0500 Subject: [PATCH 2/2] STYLE: clang-format updates to itkGridImageSourceTest2.cxx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Applied with: ./Utilities/Maintenance/clang-format.bash --tracked --- .../Filtering/ImageSources/test/itkGridImageSourceTest2.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/Filtering/ImageSources/test/itkGridImageSourceTest2.cxx b/Modules/Filtering/ImageSources/test/itkGridImageSourceTest2.cxx index 0f58fdf8871..743212e9d11 100644 --- a/Modules/Filtering/ImageSources/test/itkGridImageSourceTest2.cxx +++ b/Modules/Filtering/ImageSources/test/itkGridImageSourceTest2.cxx @@ -27,8 +27,7 @@ itkGridImageSourceTest2(int argc, char * argv[]) { if (argc != 3) { - std::cout << "Usage: " << itkNameOfTestExecutableMacro(argv) - << " inputImage" + std::cout << "Usage: " << itkNameOfTestExecutableMacro(argv) << " inputImage" << " outputImage" << std::endl; return EXIT_FAILURE; }