[libc-commits] [PATCH] D73472: [libc] Add utils for memory functions

Guillaume Chatelet via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Jan 30 01:03:17 PST 2020


gchatelet marked an inline comment as done.
gchatelet added inline comments.


================
Comment at: libc/utils/CPP/ArrayRef.h:84
   iterator begin() const { return data(); }
-  iterator end() const { return data() + size(); }
+  iterator end() const { return data() + ArrayRef<T>::size(); }
 
----------------
It's necessary to scope `size`, we can move this to another patch though.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73472





More information about the libc-commits mailing list