Skip to content

Commit 4b2f492

Browse files
committed
fix mistake in deserialization
1 parent 9b2159e commit 4b2f492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Serialization/Deserialization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2824,7 +2824,7 @@ class DeclDeserializer {
28242824
for (auto rawID : rawInheritedIDs) {
28252825
// The first bit indicates "@unchecked", second bit indicates suppression.
28262826
bool isUnchecked = rawID & 0b01;
2827-
bool isSuppressed = rawID & 0x10;
2827+
bool isSuppressed = rawID & 0b10;
28282828
TypeID typeID = rawID >> 2;
28292829

28302830
auto maybeType = MF.getTypeChecked(typeID);

0 commit comments

Comments
 (0)