Skip to content

Commit ffa0cc4

Browse files
committed
[Gardening] Doc'd test arg parsing helper.
1 parent 2898875 commit ffa0cc4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/swift/SILOptimizer/Utils/ParseTestSpecification.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,11 @@ struct Arguments {
161161
void getTestSpecifications(SILFunction *function,
162162
SmallVectorImpl<std::string> &specifications);
163163

164+
/// Given the string \p specification operand of a test_specification
165+
/// instruction from \p function, parse the arguments which it refers to into
166+
/// \p arguments and the component strings into \p argumentStrings.
164167
void parseTestArgumentsFromSpecification(
165-
SILFunction *, StringRef specification, Arguments &arguments,
168+
SILFunction *function, StringRef specification, Arguments &arguments,
166169
SmallVectorImpl<StringRef> &argumentStrings);
167170

168171
} // namespace test

0 commit comments

Comments
 (0)