Skip to content

Commit 62c84ae

Browse files
committed
readd missing sizeSoFar assignment
1 parent 702de33 commit 62c84ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ bool ConstRecordBuilder::applyZeroInitPadding(const ASTRecordLayout &layout,
607607
allowOverwrite))
608608
return false;
609609
}
610+
sizeSoFar = totalSize;
610611
return true;
611612
}
612613

0 commit comments

Comments
 (0)