We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b4ad71 commit cd9874aCopy full SHA for cd9874a
llvm/lib/Support/PropertySetIO.cpp
@@ -141,7 +141,8 @@ template <> PropertyValue::Type PropertyValue::getTypeTag<byte *>() {
141
return BYTE_ARRAY;
142
}
143
144
-PropertyValue::PropertyValue(const byte *Data, SizeTy DataBitSize) : Ty(BYTE_ARRAY) {
+PropertyValue::PropertyValue(const byte *Data, SizeTy DataBitSize)
145
+ : Ty(BYTE_ARRAY) {
146
constexpr int ByteSizeInBits = 8;
147
SizeTy DataSize = (DataBitSize + (ByteSizeInBits - 1)) / ByteSizeInBits;
148
constexpr size_t SizeFieldSize = sizeof(SizeTy);
0 commit comments