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

Everywhere: Remove 'clang-format off' comments that are no longer needed

This commit is contained in:
Timothy Flynn 2023-07-07 22:59:01 -04:00 committed by Linus Groh
parent c911781c21
commit 996c020b0d
6 changed files with 42 additions and 57 deletions

View file

@ -116,17 +116,14 @@ void CRC32::update(ReadonlyBytes data)
auto low = *segment ^ m_state;
auto high = *(++segment);
// clang-format will put this all on one line, which is really hard to read.
// clang-format off
m_state = table[0][(high >> 24) & 0xff]
^ table[1][(high >> 16) & 0xff]
^ table[2][(high >> 8) & 0xff]
^ table[3][high & 0xff]
^ table[4][(low >> 24) & 0xff]
^ table[5][(low >> 16) & 0xff]
^ table[6][(low >> 8) & 0xff]
^ table[7][low & 0xff];
// clang-format on
^ table[1][(high >> 16) & 0xff]
^ table[2][(high >> 8) & 0xff]
^ table[3][high & 0xff]
^ table[4][(low >> 24) & 0xff]
^ table[5][(low >> 16) & 0xff]
^ table[6][(low >> 8) & 0xff]
^ table[7][low & 0xff];
aligned_data = aligned_data.slice(8);
}