Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions clang/lib/CIR/CodeGen/CIRGenRecordLayoutBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -778,10 +778,8 @@ void CIRRecordLowering::computeVolatileBitfields() {
!cirGenTypes.getCGModule().getCodeGenOpts().AAPCSBitfieldWidth)
return;

for ([[maybe_unused]] auto &I : bitFields) {
for ([[maybe_unused]] auto &I : bitFields)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The for loop isn't really needed here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

assert(!cir::MissingFeatures::armComputeVolatileBitfields());
cirGenTypes.getCGModule().errorNYI("NYI AAPCS bit-fields");
}
}

void CIRRecordLowering::accumulateBases(const CXXRecordDecl *cxxRecordDecl) {
Expand Down
Loading