================
@@ -572,9 +572,15 @@ void CIRRecordLowering::accumulateFields() {
assert((field == fieldEnd || !field->isBitField()) &&
"Failed to accumulate all the bitfields");
} else if (!field->isZeroSize(astContext)) {
----------------
xlauko wrote:
That condition was there originally written by you, replacing it by
`isEmptyFieldForLayout` breaks some tests, I will investigate further.
https://github.com/llvm/llvm-project/pull/186701
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits