[clang] [CIR][NFC] Cleanup MissingFeature asserts in RecordLayoutBuilder (PR #161605)

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 2 11:56:57 PDT 2025


================
@@ -296,9 +296,8 @@ void CIRRecordLowering::lower(bool nonVirtualBaseType) {
   }
 
   llvm::stable_sort(members);
-  // TODO: implement clipTailPadding once bitfields are implemented
-  assert(!cir::MissingFeatures::bitfields());
-  assert(!cir::MissingFeatures::recordZeroInit());
+  // TODO: Verify bitfield clipping
+  assert(!cir::MissingFeatures::checkBitfieldClipping());
----------------
Andres-Salamanca wrote:

Thanks for letting me know, I’ll wait for the follow-up.

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


More information about the cfe-commits mailing list