[libcxx-commits] [libcxx] 282b803 - White space only change: reflow a comment in basic_string
Martijn Vels via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jan 30 17:06:57 PST 2020
Author: Martijn Vels
Date: 2020-01-30T19:55:48-05:00
New Revision: 282b803b62972e22dfe43642e7d5bcd76bd102a7
URL: https://github.com/llvm/llvm-project/commit/282b803b62972e22dfe43642e7d5bcd76bd102a7
DIFF: https://github.com/llvm/llvm-project/commit/282b803b62972e22dfe43642e7d5bcd76bd102a7.diff
LOG: White space only change: reflow a comment in basic_string
Summary: This change reflows a comment line. This change serves as a no-op test commit
Reviewers: mclow.lists, ldionne, EricWF
Subscribers: dexonsmith, christof, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D73552
Added:
Modified:
libcxx/include/string
Removed:
################################################################################
diff --git a/libcxx/include/string b/libcxx/include/string
index 313ef9f67900..681246a9343c 100644
--- a/libcxx/include/string
+++ b/libcxx/include/string
@@ -2858,8 +2858,8 @@ basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos, size_type __
}
traits_type::move(__p + __pos, __s, __n2);
__finish:
-// __sz += __n2 - __n1; in this and the below function below can cause unsigned integer overflow,
-// but this is a safe operation, so we disable the check.
+// __sz += __n2 - __n1; in this and the below function below can cause unsigned
+// integer overflow, but this is a safe operation, so we disable the check.
__sz += __n2 - __n1;
__set_size(__sz);
__invalidate_iterators_past(__sz);
More information about the libcxx-commits
mailing list