mmha wrote: I mostly wondered if there's an actual usecase here and it makes array to pointer decays a little awkward (though not too painful IMO).
I think the better approach would be to change the Array structor ops to accept a pair of pointers instead of an array. That makes it simple to add VLA support later on. I can explore such a change in a follow up PR. https://github.com/llvm/llvm-project/pull/159820 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits