================ @@ -64,6 +64,9 @@ FIELD(Abstract, 1, NO_MERGE) /// language rules (including DRs). FIELD(IsStandardLayout, 1, NO_MERGE) +/// True when this class appears as a member of some standard-layout union. +FIELD(IsStandardLayoutUnionMember, 1, MERGE_OR) + ---------------- dwblaikie wrote:
Wouldn't mind an opinion from a Clang Maintainer on this - maybe there's some generalization of this property, or way to compute it cheaply enough, etc? (@AaronBallman or others?) https://github.com/llvm/llvm-project/pull/221615 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
