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

Marshall Clow via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 29 10:10:12 PDT 2018


mclow.lists added a comment.

Howard just pointed out to me that `__clear_and_shrink` should be noexcept - otherwise we get the generation of an exception table and a call to `terminate` in string's move assignment operator.  Fixed in revision 333435.


Repository:
  rCXX libc++

https://reviews.llvm.org/D41976





More information about the cfe-commits mailing list