[PATCH] D137885: [modules] Support zstd in .pcm file
Thorsten via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 18 00:46:25 PST 2022
tschuett added a comment.
Release note?
================
Comment at: clang/lib/Serialization/ASTReader.cpp:1457
+ const llvm::compression::Format F =
+ Blob.size() >= 2 && memcmp(Blob.data(), "\x1f\x8b", 2) == 0
+ ? llvm::compression::Format::Zlib
----------------
Could you put the magic number into a named constant?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137885/new/
https://reviews.llvm.org/D137885
More information about the cfe-commits
mailing list