Skip to content

Commit 824fcca

Browse files
Xazax-hunrjmccall
andauthored
Update lib/IRGen/GenStruct.cpp
Co-authored-by: John McCall <[email protected]>
1 parent ce3fa73 commit 824fcca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/GenStruct.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1390,7 +1390,7 @@ class ClangRecordLowering {
13901390

13911391
void collectStructFields(const clang::RecordDecl *decl) {
13921392
auto cfi = decl->field_begin(), cfe = decl->field_end();
1393-
const auto& layout = ClangContext.getASTRecordLayout(decl);
1393+
const auto &layout = ClangContext.getASTRecordLayout(decl);
13941394
auto swiftProperties = SwiftDecl->getStoredProperties();
13951395
auto sfi = swiftProperties.begin(), sfe = swiftProperties.end();
13961396
// When collecting fields from the base subobjects, we do not have corresponding swift

0 commit comments

Comments
 (0)