llvm-project/clang/test/CXX
Yang Fan 74f93bc373
[Sema] Fix deleted function problem in implicitly movable test
In implicitly movable test, a two-stage overload resolution is performed.
If the first overload resolution selects a deleted function, Clang directly
performs the second overload resolution, without checking whether the
deleted function matches the additional criteria.

This patch fixes the above problem.

Reviewed By: Quuxplusone

Differential Revision: https://reviews.llvm.org/D92936
2021-01-06 10:05:40 +08:00
..
basic [Sema] Fold VLAs to constant arrays in a few more contexts 2020-12-04 10:03:23 -05:00
class [Sema] Fix deleted function problem in implicitly movable test 2021-01-06 10:05:40 +08: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 [AST][RecoveryExpr] Preserve type for broken overrload member call expr. 2020-12-14 08:50:41 +01:00
dcl.decl [Sema] Introduce function reference conversion, NFC 2020-11-22 20:51:57 +01:00
drs Revert "PR24076, PR33655, C++ CWG 1558: Consider the instantiation-dependence of" 2020-12-23 12:31:52 +01: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 [test] Add {{.*}} to make tests immune to dso_local/dso_preemptable/(none) differences 2020-12-30 20:52:01 -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