Skip to content

Commit 29ca77e

Browse files
committed
Merge remote-tracking branch 'origin/master' into master-rebranch
2 parents 137c9cc + f38ce6a commit 29ca77e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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)