Skip to content

Commit f4718be

Browse files
authored
Merge pull request #14741 from alblue/SR-7036
2 parents a66dd4c + 84148c7 commit f4718be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Reflection/TypeRef.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,8 +668,8 @@ class ReferenceStorageTypeRef : public TypeRef {
668668

669669
static bool classof(const TypeRef *TR) {
670670
auto Kind = TR->getKind();
671-
return (Kind == TypeRefKind::UnownedStorage &&
672-
Kind == TypeRefKind::WeakStorage &&
671+
return (Kind == TypeRefKind::UnownedStorage ||
672+
Kind == TypeRefKind::WeakStorage ||
673673
Kind == TypeRefKind::UnmanagedStorage);
674674
}
675675
};

0 commit comments

Comments
 (0)