================
@@ -243,3 +255,44 @@ TEST_F(UdtRecordCompleterRecordTests, 
TestNestedUnionStructInUnion) {
   AddField(s2, "m4", 2, 4, Member::Field);
   EXPECT_EQ(WrappedRecord(this->record), WrappedRecord(record));
 }
+
+TEST_F(UdtRecordCompleterRecordTests, TestNestedUnionStructInUnion2) {
+  SetKind(Member::Kind::Union);
----------------
ZequanWu wrote:

Doesn't putting m7 into the struct, where m3 and m4 defined, better than making 
m6 and m7 into a new struct since it's one less layer?

https://github.com/llvm/llvm-project/pull/166243
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to