[Clang] constraints partial ordering should work with deduction guide
authorYuanfang Chen <yuanfang.chen@sony.com>
Wed, 19 Oct 2022 00:19:58 +0000 (17:19 -0700)
committerYuanfang Chen <yuanfang.chen@sony.com>
Wed, 19 Oct 2022 00:30:47 +0000 (17:30 -0700)
commit13d6a57cbe2776c4873302c0cf04e27b77bd2862
tree5aab20bade1ae18703956c281baf2582a377e679
parent6912ed7b8fe6db32850b71dce209a287fc4253f6
[Clang] constraints partial ordering should work with deduction guide

D128750 incorrectly skips constraints partial ordering for deduction guide.
This patch reverts that part.

Fixes https://github.com/llvm/llvm-project/issues/58456.
clang/lib/Sema/SemaTemplateDeduction.cpp
clang/test/SemaTemplate/deduction-guide-partial-ordering.cpp [new file with mode: 0644]