[PATCH] D41976: Low-hanging fruit optimization in string::__move_assign().

Timothy VanSlyke via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 21 12:01:34 PST 2018


tvanslyke updated this revision to Diff 130819.
tvanslyke added a comment.

Moved `__clear_and_shrink()` to live with the other public dunder methods and adapted the associated test accordingly.


https://reviews.llvm.org/D41976

Files:
  include/string
  test/libcxx/strings/basic.string/string.modifiers/clear_and_shrink_db1.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41976.130819.patch
Type: text/x-patch
Size: 3370 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180121/ce196947/attachment.bin>


More information about the cfe-commits mailing list