SuccessChanges

Summary

  1. [Sema] Fix deleted function problem in implicitly movable test (details)
Commit 89b0972aa2f58f927633c63570b36550a17f4e63 by nullptr.cpp
[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
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was addedclang/test/CXX/class/class.init/class.copy.elision/p3.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp