[ConstraintLocator] Rename isAutoclosureResult to isForAutoclosureResult

This commit is contained in:
Holly Borla
2019-08-07 13:56:35 -07:00
parent 7679a5a433
commit 04f09d0406
2 changed files with 2 additions and 2 deletions

View File

@@ -3080,7 +3080,7 @@ ConstraintSystem::matchTypes(Type type1, Type type2, ConstraintKind kind,
if (kind >= ConstraintKind::Conversion) {
// It is never legal to form an autoclosure that results in these
// implicit conversions to pointer types.
bool isAutoClosureArgument = locator.isAutoclosureResult();
bool isAutoClosureArgument = locator.isForAutoclosureResult();
// Pointer arguments can be converted from pointer-compatible types.
if (kind >= ConstraintKind::ArgumentConversion) {