bwendling wrote:

> Does this still work for cases where there are multiple flexible arrays? e.g.
> 
> ```
> struct weird_protocol {
>     unsigned int cmd_type;
>     unsigned int data_len;
>     union {
>         struct cmd_one one[];
>         struct cmd_two two[];
>         struct cmd_three three[];
>         unsigned char raw_bytes[];
>     };
> };
> ```

Ah! One of your heresies. :-)

The current code probably doesn't support this (I'll check). This PR shouldn't 
change this. I'll have to revisit this code to make sure that it can be 
supported.

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

Reply via email to