================
@@ -844,7 +847,18 @@ const FieldDecl 
*CodeGenFunction::FindFlexibleArrayMemberField(
       if (const FieldDecl *Field =
----------------
efriedma-quic wrote:

Maybe instead of looking for RecordDecls, this code should be looking for 
fields where the type of the field is an anonymous struct/union.

https://github.com/llvm/llvm-project/pull/89126
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to