Unverified Commit 0be9592b authored by Haojian Wu's avatar Haojian Wu Committed by GitHub
Browse files

[clang] CTAD: Respect requires-clause of the original function template for...

[clang] CTAD: Respect requires-clause of the original function template for the synthesized deduction guide (#84913)

We ignored the require-clause of the original template when building the deduction guide for type-alias CTAD, this resulted in accepting code which should be rejected (see the test case). This patch fixes it, part of #84492.
parent 1c792d24
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment