Skip to content

Commit 4764564

Browse files
committed
[SILGen] Remove an unnecessary scope in emitImplicitValueConstructor
1 parent 65105f3 commit 4764564

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/SILGen/SILGenConstructor.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ static void emitImplicitValueConstructor(SILGenFunction &SGF,
254254

255255
// If it's memberwise initialized, do so now.
256256
if (field->isMemberwiseInitialized(/*preferDeclaredProperties=*/false)) {
257-
FullExpr scope(SGF.Cleanups, field->getParentPatternBinding());
258257
assert(elti != eltEnd && "number of args does not match number of fields");
259258
(void)eltEnd;
260259
value = std::move(*elti);

0 commit comments

Comments
 (0)