================
@@ -128,7 +128,22 @@ def CIR_RecordLayoutAttr : CIR_Attr<"RecordLayout",
"record_layout", [
// non-zero power of two.
PredAttrTrait<"record_align must be a non-zero power of two",
CPred<"$record_align != 0 && "
- "::llvm::isPowerOf2_64($record_align)">>
+ "::llvm::isPowerOf2_64($record_align)">>,
+ PredAttrTrait<"zero_width_bitfield offsets and widths must be parallel",
----------------
erichkeane wrote:
Parallel? What does that mean here?
https://github.com/llvm/llvm-project/pull/217517
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits