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 e7ee507 commit 502c10fCopy full SHA for 502c10f
include/swift/Runtime/Metadata.h
@@ -1336,8 +1336,10 @@ using HeapMetadata = TargetHeapMetadata<InProcess>;
1336
/// structure that describes how to find and parse a generic parameter vector
1337
/// within the type metadata for an instance of a nominal type.
1338
struct GenericParameterDescriptor {
1339
- /// The offset of the descriptor in the metadata record. This is
1340
- /// meaningful if either NumGenericRequirements is nonzero or
+ /// The offset to the first generic argument from the start of
+ /// metadata record.
1341
+ ///
1342
+ /// This is meaningful if either NumGenericRequirements is nonzero or
1343
/// (for classes) if Flags.hasParent() is true.
1344
uint32_t Offset;
1345
0 commit comments