Yang Fan fbee4a0c79 [C++20] [P1825] More implicit moves
Implement all of P1825R0:

- implicitly movable entity can be an rvalue reference to non-volatile
    automatic object.
- operand of throw-expression can be a function or catch-clause parameter
    (support for function parameter has already been implemented).
- in the first overload resolution, the selected function no need to be
    a constructor.
- in the first overload resolution, the first parameter of the selected
    function no need to be an rvalue reference to the object's type.

This patch also removes the diagnostic `-Wreturn-std-move-in-c++11`.

Differential Revision: https://reviews.llvm.org/D88220
2021-02-16 17:24:20 -05:00
..
2019-07-15 20:02:23 +00:00
2020-05-14 08:22:08 -07:00
2017-02-24 13:15:08 +00:00
2020-09-16 11:03:15 -07:00
2021-02-16 17:24:20 -05:00
2018-09-10 21:54:04 +00:00
2020-12-04 11:20:17 -05:00
2019-06-18 23:40:17 +00:00