1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:07:34 +00:00

Everywhere: Remove needless trailing semi-colons after functions

This is a new option in clang-format-16.
This commit is contained in:
Timothy Flynn 2023-07-07 22:48:11 -04:00 committed by Linus Groh
parent aff81d318b
commit c911781c21
243 changed files with 483 additions and 481 deletions

View file

@ -16,7 +16,7 @@ void Adler32::update(ReadonlyBytes data)
m_state_a = (m_state_a + data.at(i)) % 65521;
m_state_b = (m_state_b + m_state_a) % 65521;
}
};
}
u32 Adler32::digest()
{

View file

@ -41,7 +41,7 @@ void CRC32::update(ReadonlyBytes span)
++data;
--size;
}
};
}
// FIXME: On Intel, use _mm_crc32_u8 / _mm_crc32_u64 if available (SSE 4.2).
@ -133,7 +133,7 @@ void CRC32::update(ReadonlyBytes data)
for (auto byte : aligned_data)
m_state = single_byte_crc(m_state, byte);
};
}
# else
@ -164,7 +164,7 @@ void CRC32::update(ReadonlyBytes data)
for (size_t i = 0; i < data.size(); i++) {
m_state = table[(m_state ^ data.at(i)) & 0xFF] ^ (m_state >> 8);
}
};
}
# endif
#endif