Update clang-format to version 12

12 is the latest release and various editors (VS, VSCode and CLion)
ship with clang-format 12 by default.
This commit is contained in:
Léo Lam
2021-08-30 00:17:24 +02:00
parent 006fc99e8e
commit 815b590dfe
5 changed files with 13 additions and 16 deletions

View File

@ -1457,8 +1457,8 @@ WIARVZFileReader<RVZ>::ProcessAndCompress(CompressThreadState* state, CompressPa
compare_hashes(offsetof(HashBlock, padding_2), sizeof(HashBlock::padding_2));
}
static_assert(std::is_trivially_copyable_v<typename decltype(
CompressThreadState::decryption_buffer)::value_type>);
static_assert(std::is_trivially_copyable_v<
typename decltype(CompressThreadState::decryption_buffer)::value_type>);
if constexpr (RVZ)
{
// We must not store junk efficiently for chunks that may get reused at a position