Skip to content

Commit aea7d03

Browse files
mikeashairspeedswift
authored andcommitted
[Reflection] Remove useless TaggedUnion.h include. Comment swift_metadata_allocation_tag.
1 parent 8994408 commit aea7d03

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

include/swift/Reflection/ReflectionContext.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#include "llvm/Object/COFF.h"
2525

2626
#include "swift/ABI/Enum.h"
27-
#include "swift/Basic/TaggedUnion.h"
2827
#include "swift/Remote/MemoryReader.h"
2928
#include "swift/Remote/MetadataReader.h"
3029
#include "swift/Reflection/Records.h"

include/swift/SwiftRemoteMirror/SwiftRemoteMirrorTypes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ typedef struct swift_childinfo {
141141
swift_typeref_t TR;
142142
} swift_childinfo_t;
143143

144+
// Values here match the values from MetadataAllocatorTags in Metadata.h.
144145
enum swift_metadata_allocation_tag {
145146
SWIFT_GENERIC_METADATA_CACHE_ALLOCATION = 14,
146147
};

0 commit comments

Comments
 (0)