Skip to content

Commit 2f14c43

Browse files
authored
Merge pull request #22420 from slavapestov/fix-reflection-constants-5.0
Reflection: Fix definition of swift_layout_kind to line up with Swift 4.2 [5.0]
2 parents 00dbfa1 + 3fc95a0 commit 2f14c43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/swift/SwiftRemoteMirror/SwiftRemoteMirrorTypes.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ typedef enum swift_layout_kind {
108108

109109
// References to other objects in the heap.
110110
SWIFT_STRONG_REFERENCE,
111-
#define REF_STORAGE(Name, name, NAME) \
112-
SWIFT_##NAME##_REFERENCE,
113-
#include "swift/AST/ReferenceStorage.def"
111+
SWIFT_UNOWNED_REFERENCE,
112+
SWIFT_WEAK_REFERENCE,
113+
SWIFT_UNMANAGED_REFERENCE,
114114

115115
// Layouts of heap objects. These are only ever returned from
116116
// swift_reflection_infoFor{Instance,Metadata}(), and not

0 commit comments

Comments
 (0)