Skip to content

Commit c8d1ea5

Browse files
committed
[SILGen] Gardening: Line wrapping.
1 parent 6e26b41 commit c8d1ea5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/SILGen/SILGenFunction.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,8 @@ void SILGenFunction::emitCaptures(SILLocation loc,
798798
auto entryValue = getAddressValue(val, /*forceCopy=*/false);
799799
// LValues are captured as both the box owning the value and the
800800
// address of the value.
801-
assert(entryValue->getType().isAddress() && "no address for captured var!");
801+
assert(entryValue->getType().isAddress() &&
802+
"no address for captured var!");
802803
// Boxes of opaque return values stay opaque.
803804
auto minimalLoweredType = SGM.Types.getLoweredRValueType(
804805
TypeExpansionContext::minimal(), type->getCanonicalType());
@@ -838,7 +839,8 @@ void SILGenFunction::emitCaptures(SILLocation loc,
838839
// in-place.
839840
// TODO: Use immutable box for immutable captures.
840841
auto boxTy = SGM.Types.getContextBoxTypeForCapture(
841-
vd, minimalLoweredType, FunctionDC->getGenericEnvironmentOfContext(),
842+
vd, minimalLoweredType,
843+
FunctionDC->getGenericEnvironmentOfContext(),
842844
/*mutable*/ true);
843845

844846
AllocBoxInst *allocBox = B.createAllocBox(loc, boxTy);

0 commit comments

Comments
 (0)