[all-commits] [llvm/llvm-project] 0712c5: [ADT] Have ArrayRef::copy() return a MutableArrayRef
Jez Ng via All-commits
all-commits at lists.llvm.org
Fri Feb 18 11:56:34 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0712c575b90a7eb508bf43d15c38c1c0b0d69695
https://github.com/llvm/llvm-project/commit/0712c575b90a7eb508bf43d15c38c1c0b0d69695
Author: Jez Ng <jezng at fb.com>
Date: 2022-02-18 (Fri, 18 Feb 2022)
Changed paths:
M llvm/include/llvm/ADT/ArrayRef.h
Log Message:
-----------
[ADT] Have ArrayRef::copy() return a MutableArrayRef
The allocated memory itself is mutable, so let's expose that to the
caller. LLD has a use case for this.
Reviewed By: MaskRay, #lld-macho
Differential Revision: https://reviews.llvm.org/D120144
More information about the All-commits
mailing list