[clang] [CIR] Mark bit-field access units as their own member kinds (PR #216864)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 17 15:56:19 PDT 2026


================
@@ -624,29 +624,42 @@ def CIR_VoidType : CIR_Type<"Void", "void"> {
 //===----------------------------------------------------------------------===//
 // RecordMemberKind
 //
-// What a record member holds, for members that do not hold source data.
+// What a record member holds, and whether its extent is a declared one.
 //===----------------------------------------------------------------------===//
 
 def CIR_RecordMemberKind : CIR_I32EnumAttr<
     "RecordMemberKind", "what a record member holds", [
   I32EnumAttrCase<"Data", 0, "data">,
   I32EnumAttrCase<"Pad", 1, "pad">,
-  I32EnumAttrCase<"Empty", 2, "empty">
+  I32EnumAttrCase<"Empty", 2, "empty">,
----------------
erichkeane wrote:

What is the difference now between 'empty' and 'empty_bitfield'?  I thought 'empty' was supposed to be that...

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


More information about the cfe-commits mailing list