Skip to content

Commit 7f2a44b

Browse files
Fix formatting
1 parent 0d7519f commit 7f2a44b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenRecordLayoutBuilder.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,8 @@ void CIRRecordLowering::computeVolatileBitfields() {
789789
// of the type), we first undo that calculation here and redo it once
790790
// the bit-field offset within the new container is calculated.
791791
const unsigned oldOffset =
792-
isBigEndian() ? info.storageSize - (info.offset + info.size) : info.offset;
792+
isBigEndian() ? info.storageSize - (info.offset + info.size)
793+
: info.offset;
793794
// Offset to the bit-field from the beginning of the struct.
794795
const unsigned absoluteOffset =
795796
astContext.toBits(info.storageOffset) + oldOffset;

0 commit comments

Comments
 (0)