With commit STYLE: Enforce ITK style defined by .clang-format, the formatting of the function body of ImageRegionRange::begin()
has changed from:
Before the commit:
return iterator
{
m_BufferBegin + Self::ComputeOffset(m_OffsetTable, m_BufferedRegionIndex, m_IterationRegionIndex),
m_OffsetTable,
OffsetType(),
m_IterationRegionSize
};
To:
After the commit:
return iterator{ m_BufferBegin + Self::ComputeOffset(m_OffsetTable, m_BufferedRegionIndex, endRegionIndex),
m_OffsetTable,
iterationOffset,
m_IterationRegionSize };
Was this change intended? Personally I would prefer to have a pair of matching curly braces {
and }
on either the same line of code, or the same column (one exactly below the other). As it was before the commit.