Skip to content

Commit 1400460

Browse files
authored
---
yaml --- r: 349245 b: refs/heads/master-next c: 9182051 h: refs/heads/master i: 349243: 827a9da
1 parent c9bdaec commit 1400460

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3-
refs/heads/master-next: 8db900634dd7a671e2627883f02d449a1f85650e
3+
refs/heads/master-next: 9182051d34f267fadd2cf025f5fff520462e38e9
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
66
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07

branches/master-next/lib/Sema/CSSimplify.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -837,20 +837,20 @@ class ArgumentFailureTracker : public MatchCallArgumentListener {
837837
const auto &param = Parameters[paramIdx];
838838

839839
unsigned newArgIdx = Arguments.size();
840-
auto argLoc =
840+
auto *argLoc = CS.getConstraintLocator(
841841
Locator
842842
.withPathElement(LocatorPathElt::ApplyArgToParam(
843843
newArgIdx, paramIdx, param.getParameterFlags()))
844-
.withPathElement(LocatorPathElt::SynthesizedArgument(newArgIdx));
844+
.withPathElement(LocatorPathElt::SynthesizedArgument(newArgIdx)));
845845

846-
auto *argType = CS.createTypeVariable(
847-
CS.getConstraintLocator(argLoc),
848-
TVO_CanBindToInOut | TVO_CanBindToLValue | TVO_CanBindToNoEscape);
846+
auto *argType =
847+
CS.createTypeVariable(argLoc, TVO_CanBindToInOut | TVO_CanBindToLValue |
848+
TVO_CanBindToNoEscape);
849849

850850
CS.recordHole(argType);
851-
CS.addUnsolvedConstraint(Constraint::create(
852-
CS, ConstraintKind::Defaultable, argType, CS.getASTContext().TheAnyType,
853-
CS.getConstraintLocator(argLoc)));
851+
CS.addUnsolvedConstraint(
852+
Constraint::create(CS, ConstraintKind::Defaultable, argType,
853+
CS.getASTContext().TheAnyType, argLoc));
854854

855855
Arguments.push_back(param.withType(argType));
856856
++NumSynthesizedArgs;

branches/master-next/test/api-digester/Outputs/stability-stdlib-abi.asserts.additional.swift.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
Class _SwiftNSMutableArray is a new API without @available attribute
2-
Class _SwiftNativeNSMutableArray is a new API without @available attribute
31
Func _collectReferencesInsideObject(_:) is a new API without @available attribute
42
Func _loadDestroyTLSCounter() is a new API without @available attribute
53
Protocol _RuntimeFunctionCountersStats is a new API without @available attribute
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Class _SwiftNSMutableArray is a new API without @available attribute
2+
Class _SwiftNativeNSMutableArray is a new API without @available attribute

0 commit comments

Comments
 (0)