Skip to content

Commit a38c147

Browse files
committed
Missing type metadata arg in comments
1 parent b32e82c commit a38c147

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/swift/ABI/ValueWitness.def

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ FUNCTION_VALUE_WITNESS(assignWithTake,
160160
MUTABLE_VALUE_TYPE,
161161
(MUTABLE_VALUE_TYPE, MUTABLE_VALUE_TYPE, TYPE_TYPE))
162162

163-
/// unsigned (*getEnumTagSinglePayload)(const T* enum, UINT_TYPE emptyCases)
163+
/// unsigned (*getEnumTagSinglePayload)(const T* enum, UINT_TYPE emptyCases,
164+
/// M *self);
164165
/// Given an instance of valid single payload enum with a payload of this
165166
/// witness table's type (e.g Optional<ThisType>) , get the tag of the enum.
166167
FUNCTION_VALUE_WITNESS(getEnumTagSinglePayload,
@@ -169,7 +170,7 @@ FUNCTION_VALUE_WITNESS(getEnumTagSinglePayload,
169170
(IMMUTABLE_VALUE_TYPE, UINT_TYPE, TYPE_TYPE))
170171

171172
/// void (*storeEnumTagSinglePayload)(T* enum, UINT_TYPE whichCase,
172-
/// UINT_TYPE emptyCases)
173+
/// UINT_TYPE emptyCases, M *self);
173174
/// Given uninitialized memory for an instance of a single payload enum with a
174175
/// payload of this witness table's type (e.g Optional<ThisType>), store the
175176
/// tag.

0 commit comments

Comments
 (0)