efriedma-quic wrote: Strictly speaking, I don't think this is NFC. Consider, for example:
``` struct S { struct X { int array[1]; } x; struct Y { int count; int array[] __attribute__((__counted_by__(count))); } y; }; void f(void* __attribute__((pass_dynamic_object_size(0)))); void g(struct S* s) { f(s->y.array); } ``` 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