[clang] [CIR] Require every record member to specify its kind (PR #215174)
Adam Smith via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 12 09:01:39 PDT 2026
================
@@ -152,31 +152,88 @@ void CIRDialect::printType(Type type, DialectAsmPrinter &os) const {
// Shared helpers for StructType and UnionType parse/print.
-/// Parse "incomplete" or "{type, type, ...}", writing results into
-/// \p incomplete and \p members. Returns failure if member parsing fails.
+llvm::ArrayRef<RecordMemberKind>
+cir::normalizeRecordMemberKinds(llvm::ArrayRef<RecordMemberKind> memberKinds) {
----------------
adams381 wrote:
The kind list is now mandatory and properly checked by the verifier.
https://github.com/llvm/llvm-project/pull/215174
More information about the cfe-commits
mailing list