Skip to content

Commit 5f89d4d

Browse files
committed
---
yaml --- r: 349340 b: refs/heads/master-next c: 29ca77e h: refs/heads/master
1 parent b543c47 commit 5f89d4d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
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: 137c9cc73db0b95d755a30ad9355063f38966b08
3+
refs/heads/master-next: 29ca77ebcb07df6b460afee38b26f2ce959bf060
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/IDE/IDERequests.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,8 @@ bool CursorInfoResolver::tryResolve(ValueDecl *D, TypeDecl *CtorTyRef,
111111
// Handle references to the implicitly generated vars in case statements
112112
// matching multiple patterns
113113
if (VD->isImplicit()) {
114-
if (auto * Parent = VD->getParentVarDecl()) {
114+
if (auto *Parent = VD->getParentVarDecl()) {
115115
D = Parent;
116-
VD = Parent;
117116
}
118117
}
119118
}

0 commit comments

Comments
 (0)