Skip to content

Commit 90b8760

Browse files
committed
format code
1 parent 24aec7f commit 90b8760

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

source/slang/slang-legalize-types.cpp

+5-4
Original file line numberDiff line numberDiff line change
@@ -488,10 +488,11 @@ struct TupleTypeBuilder
488488

489489
// TODO: shallow clone of modifiers, etc.
490490
IRStructField* originalField = findStructField(originalStructType, ee.fieldKey);
491-
IRStructField* newField = builder->createStructField(ordinaryStructType, ee.fieldKey, fieldType);
492-
// In case the original struct had offset decorations attached, transfer those as well.
493-
// The original offsets should still be valid, since we only skip fields of types that aren't
494-
// representable in memory.
491+
IRStructField* newField =
492+
builder->createStructField(ordinaryStructType, ee.fieldKey, fieldType);
493+
// In case the original struct had offset decorations attached, transfer those as
494+
// well. The original offsets should still be valid, since we only skip fields of
495+
// types that aren't representable in memory.
495496
originalField->transferDecorationsTo(newField);
496497
}
497498

0 commit comments

Comments
 (0)