groundswellaudio wrote: By looking at your tests on anonymous unions, I'd say that indirect fields are handled correctly (perhaps they're not included in the fields range?, otherwise the union-like class would not be considered literal) and that rather the implicitly generated special member functions of the anonymous union are the problems (and it's unclear to me why these would be needed at all, but perhaps it's simpler to generate them that to make a special case anonymous unions).
https://github.com/llvm/llvm-project/pull/78195 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits