[libcxx-commits] [libcxx] c9e6519 - Remove unused _LIBCPP_RAW_ITERATORS
Dmitri Gribenko via libcxx-commits
libcxx-commits at lists.llvm.org
Thu May 7 13:26:41 PDT 2020
Author: Marcel Hlopko
Date: 2020-05-07T22:26:15+02:00
New Revision: c9e6519d158b1b624eed087a332b3ca090d31d19
URL: https://github.com/llvm/llvm-project/commit/c9e6519d158b1b624eed087a332b3ca090d31d19
DIFF: https://github.com/llvm/llvm-project/commit/c9e6519d158b1b624eed087a332b3ca090d31d19.diff
LOG: Remove unused _LIBCPP_RAW_ITERATORS
Summary: This change removes seemingly unused _LIBCPP_RAW_ITERATORS.
Reviewers: #libc, EricWF, ldionne
Reviewed By: #libc, EricWF, ldionne
Subscribers: dexonsmith, ldionne, gribozavr2, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D79323
Added:
Modified:
libcxx/include/string
Removed:
################################################################################
diff --git a/libcxx/include/string b/libcxx/include/string
index 179080dbb579..7fc428027a1b 100644
--- a/libcxx/include/string
+++ b/libcxx/include/string
@@ -691,13 +691,8 @@ public:
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;
More information about the libcxx-commits
mailing list