Files
clang-p2996/libcxx/include
Michael Park 6ab3208d77 Remove the unnecessary is_nothrow_swappable condition in swap.
Thanks to @lewissbaker who pointed out the unnecessary condition in
https://reviews.llvm.org/D81954#inline-756872. Since this codepath does not
make use of `swap` anyway (that codepath is a different branch), we can safely
remove this condition and produce better codegen when all types are nothrow
movable but are potentially-throwing swappable.

See codegen in https://gcc.godbolt.org/z/uDFZjz

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D83274
2020-07-08 10:46:38 -07:00
..
2020-04-08 18:00:13 -04:00
2019-08-20 18:21:06 +00:00
2019-07-01 16:13:31 +00:00
2020-06-19 14:25:02 +05:30
2019-12-21 01:26:24 -08:00
2020-05-20 14:34:21 -04:00
2019-05-29 16:01:36 +00:00