[clang] [CIR] Fix NYI AAPCS bit-fields by skipping unsupported case (PR #145560)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 24 11:14:29 PDT 2025


================
@@ -778,10 +778,8 @@ void CIRRecordLowering::computeVolatileBitfields() {
       !cirGenTypes.getCGModule().getCodeGenOpts().AAPCSBitfieldWidth)
     return;
 
-  for ([[maybe_unused]] auto &I : bitFields) {
+  for ([[maybe_unused]] auto &I : bitFields)
----------------
andykaylor wrote:

The for loop isn't really needed here.

https://github.com/llvm/llvm-project/pull/145560


More information about the cfe-commits mailing list