[libcxx-commits] [libcxx] 7593f68 - [libc++][nfc] Remove double spaces.
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 22 08:26:18 PDT 2021
Author: Mark de Wever
Date: 2021-10-22T17:26:13+02:00
New Revision: 7593f68a05519934766bcb060b7155e2948f1e48
URL: https://github.com/llvm/llvm-project/commit/7593f68a05519934766bcb060b7155e2948f1e48
DIFF: https://github.com/llvm/llvm-project/commit/7593f68a05519934766bcb060b7155e2948f1e48.diff
LOG: [libc++][nfc] Remove double spaces.
Based on the comment of @Quuxplusone in D111961. It seems no tests are
affected, but give it a run on the CI to be sure.
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D112231
Added:
Modified:
libcxx/include/vector
Removed:
################################################################################
diff --git a/libcxx/include/vector b/libcxx/include/vector
index 1d8098d522596..80819080a9fbe 100644
--- a/libcxx/include/vector
+++ b/libcxx/include/vector
@@ -903,7 +903,7 @@ private:
struct _ConstructTransaction {
explicit _ConstructTransaction(vector &__v, size_type __n)
- : __v_(__v), __pos_(__v.__end_), __new_end_(__v.__end_ + __n) {
+ : __v_(__v), __pos_(__v.__end_), __new_end_(__v.__end_ + __n) {
#ifndef _LIBCPP_HAS_NO_ASAN
__v_.__annotate_increase(__n);
#endif
@@ -1736,10 +1736,10 @@ vector<_Tp, _Allocator>::erase(const_iterator __first, const_iterator __last)
{
#if _LIBCPP_DEBUG_LEVEL == 2
_LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(_VSTD::addressof(__first)) == this,
- "vector::erase(iterator, iterator) called with an iterator not"
+ "vector::erase(iterator, iterator) called with an iterator not"
" referring to this vector");
_LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(_VSTD::addressof(__last)) == this,
- "vector::erase(iterator, iterator) called with an iterator not"
+ "vector::erase(iterator, iterator) called with an iterator not"
" referring to this vector");
#endif
_LIBCPP_ASSERT(__first <= __last, "vector::erase(first, last) called with invalid range");
More information about the libcxx-commits
mailing list