[PATCH] D78050: Introduce `__sanitizer::ArrayRef<T>` type.

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 12:58:27 PDT 2020


delcypher updated this revision to Diff 257455.
delcypher added a comment.

- Rename `ArrayRef<T>` -> `MutableArrayRef<T>`.
- Remove duplicate `const` returning methods. They don't seem to be needed.
- Add `elementTy`.
- Add `iterator` type.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78050/new/

https://reviews.llvm.org/D78050

Files:
  compiler-rt/lib/sanitizer_common/CMakeLists.txt
  compiler-rt/lib/sanitizer_common/sanitizer_mutable_array_ref.h
  compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
  compiler-rt/lib/sanitizer_common/tests/sanitizer_mutable_array_ref_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78050.257455.patch
Type: text/x-patch
Size: 11929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200414/c908d08a/attachment.bin>


More information about the llvm-commits mailing list