[libcxx-commits] [PATCH] D79323: Remove unused _LIBCPP_RAW_ITERATORS

Dmitri Gribenko via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 7 13:36:26 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGc9e6519d158b: Remove unused _LIBCPP_RAW_ITERATORS (authored by hlopko, committed by gribozavr).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79323

Files:
  libcxx/include/string


Index: libcxx/include/string
===================================================================
--- libcxx/include/string
+++ libcxx/include/string
@@ -691,13 +691,8 @@
     static_assert(( is_same<typename allocator_type::value_type, value_type>::value),
                   "Allocator::value_type must be same type as value_type");
 
-#if defined(_LIBCPP_RAW_ITERATORS)
-    typedef pointer                                      iterator;
-    typedef const_pointer                                const_iterator;
-#else  // defined(_LIBCPP_RAW_ITERATORS)
     typedef __wrap_iter<pointer>                         iterator;
     typedef __wrap_iter<const_pointer>                   const_iterator;
-#endif  // defined(_LIBCPP_RAW_ITERATORS)
     typedef _VSTD::reverse_iterator<iterator>             reverse_iterator;
     typedef _VSTD::reverse_iterator<const_iterator>       const_reverse_iterator;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79323.262745.patch
Type: text/x-patch
Size: 903 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200507/c3196ab5/attachment-0001.bin>


More information about the libcxx-commits mailing list