[llvm-dev] Is ArrayRef supposed to be immutable?
Daniel Berlin via llvm-dev
llvm-dev at lists.llvm.org
Sat Sep 30 17:21:43 PDT 2017
It seems like ArrayRefs are supposed to be immutable (
However, as far as i can tell, the iterators are defined wrong to make this
Foo = 5;
will give a compile time error.
Will work fine.
Is this expected?
(FWIW: I expected this to only work with a MutableArrayRef)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev