InsightSoftwareConsortium / ITK

Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
https://itk.org
Apache License 2.0
1.37k stars 660 forks source link

ENH: Default to allow ITK_MACROEND_NOOP_STATEMENT #4706

Closed hjmjohnson closed 4 weeks ago

hjmjohnson commented 4 weeks ago

The ITK_MACROEND_NOOP_STATEMENT is always supported in compilers, and allows macros to be used with semi-colons without warnings or clang-format inconsistencies.

related to #4699

PR Checklist

NOTE: Does require ';' at the end of ITK macros when used. This greatly simplifies meeting the clang-format desired formatting behaviors in the code base.