llvm-project/clang/test/CXX
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
..
basic [Sema] Fold VLAs to constant arrays in a few more contexts 2020-12-04 10:03:23 -05:00
class [C++20] [P1825] More implicit moves 2021-02-16 17:24:20 -05:00
class.access Remove redundant check for access in the conversion from the naming 2020-11-29 19:21:59 -08:00
class.derived Defer checking for mismatches between the deletedness of and overriding 2020-03-12 13:07:22 -07:00
conv [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
cpp [Clang] Add __STDCPP_THREADS__ to standard predefine macros 2020-11-22 16:05:53 -08:00
dcl Consistent spelling in diagnostics: {l,r}value instead of {l,r}-value 2020-11-15 18:05:11 +01:00
dcl.dcl PR48763: Better handling for classes that inherit a default constructor. 2021-01-18 18:54:04 -08:00
dcl.decl [Sema] Introduce function reference conversion, NFC 2020-11-22 20:51:57 +01:00
drs Revert "DR2064: decltype(E) is only a dependent type if E is type-dependent, not 2021-01-19 12:48:40 -08:00
except [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer 2020-11-16 17:39:17 -08:00
expr [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
lex [c++20] For P0732R2: Support string literal operator templates. 2020-10-25 00:34:15 -07:00
module Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
modules-ts [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
over [c++20] Further extend the set of comparisons broken by C++20 that we 2020-03-20 14:22:48 -07:00
special PR48763: Better handling for classes that inherit a default constructor. 2021-01-18 18:54:04 -08:00
stmt.stmt Add diagnostic for for-range-declaration being specificed with thread_local 2020-12-04 15:06:35 -08:00
temp [test] Add {{.*}} to make tests immune to dso_local/dso_preemptable/(none) differences 2020-12-30 20:52:01 -08:00