[clang] [clang][bytecode] Don't memcpy() FixedPoint values (PR #123599)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 20 04:30:24 PST 2025
================
@@ -91,6 +91,31 @@ class FixedPoint final {
return ComparisonCategoryResult::Greater;
}
+ size_t bytesToSerialize() const {
+ return sizeof(uint32_t) + (V.getValue().getBitWidth() / CHAR_BIT);
----------------
tbaederr wrote:
Yeah, _if_ I use it, it's just because of the unnamed constants.
https://github.com/llvm/llvm-project/pull/123599
More information about the cfe-commits
mailing list