We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d7519f commit 7f2a44bCopy full SHA for 7f2a44b
clang/lib/CIR/CodeGen/CIRGenRecordLayoutBuilder.cpp
@@ -789,7 +789,8 @@ void CIRRecordLowering::computeVolatileBitfields() {
789
// of the type), we first undo that calculation here and redo it once
790
// the bit-field offset within the new container is calculated.
791
const unsigned oldOffset =
792
- isBigEndian() ? info.storageSize - (info.offset + info.size) : info.offset;
+ isBigEndian() ? info.storageSize - (info.offset + info.size)
793
+ : info.offset;
794
// Offset to the bit-field from the beginning of the struct.
795
const unsigned absoluteOffset =
796
astContext.toBits(info.storageOffset) + oldOffset;
0 commit comments