From: Joel Rosdahl Date: Mon, 10 Feb 2020 20:16:31 +0000 (+0100) Subject: Make clang-format comments stable across clang-format versions X-Git-Tag: v4.0~632 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6fb3b539704f374c7973de6570cdad98c315f630;p=thirdparty%2Fccache.git Make clang-format comments stable across clang-format versions Now at least clang-format 6, 7, 8 and 9 format all code the same. --- diff --git a/src/CacheEntryWriter.cpp b/src/CacheEntryWriter.cpp index a71a73149..6636bf556 100644 --- a/src/CacheEntryWriter.cpp +++ b/src/CacheEntryWriter.cpp @@ -24,12 +24,12 @@ CacheEntryWriter::CacheEntryWriter(FILE* stream, Compression::Type compression_type, int8_t compression_level, uint64_t payload_size) + // clang-format off : m_compressor( - // clang-format off Compressor::create_from_type(compression_type, stream, compression_level) - // clang-format on - ) + ) { + // clang-format on uint8_t header_bytes[15]; memcpy(header_bytes, magic, 4); header_bytes[4] = version;