[clang] [CIR] Split RecordType into StructType/UnionType (PR #199790)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Fri May 29 14:02:54 PDT 2026
================
@@ -693,85 +677,71 @@ def CIR_RecordType : CIR_Type<"Record", "record", [
let genVerifyDecl = 1;
let builders = [
- // Create an identified and complete record type.
+ // Create an identified and complete struct/class type.
TypeBuilder<(ins
"llvm::ArrayRef<mlir::Type>":$members,
"mlir::StringAttr":$name,
"bool":$packed,
"bool":$padded,
----------------
erichkeane wrote:
Yes it is....:
https://godbolt.org/z/8eM7Y8ssq
https://github.com/llvm/llvm-project/pull/199790
More information about the cfe-commits
mailing list