[ConstraintSystem] Record a fix for extraneous arguments after matcher is done

This commit is contained in:
Pavel Yaskevich
2019-09-26 17:35:00 -07:00
parent c97603f5d4
commit 1b302b98d3
4 changed files with 52 additions and 45 deletions

View File

@@ -3878,11 +3878,11 @@ public:
/// Indicates that the argument at the given index does not match any
/// parameter.
///
/// \param argIndices The indices of the extra arguments.
/// \param argIdx The index of the extra argument.
///
/// \returns true to indicate that this should cause a failure, false
/// otherwise.
virtual bool extraArguments(ArrayRef<unsigned> argIndices);
virtual bool extraArgument(unsigned argIdx);
/// Indicates that no argument was provided for the parameter at the given
/// indices.