diff options
author | Yang Fan <nullptr.cpp@gmail.com> | 2021-01-04 17:36:58 +0800 |
---|---|---|
committer | Yang Fan <nullptr.cpp@gmail.com> | 2021-01-06 10:05:40 +0800 |
commit | 74f93bc373d089e757bb65cf8b30b63a4eae8b69 (patch) | |
tree | 6e94d1bd564abf9d189c7a439bbe4b33ee89548a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f4bcbdf9cea16bf91ba342268f681de45e15733c (diff) | |
download | llvm-74f93bc373d089e757bb65cf8b30b63a4eae8b69.zip llvm-74f93bc373d089e757bb65cf8b30b63a4eae8b69.tar.gz llvm-74f93bc373d089e757bb65cf8b30b63a4eae8b69.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions