diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2024-03-13 09:02:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 09:02:05 +0100 |
commit | 0be9592b0077dc63596ce46379cf7b3bd4a405c8 (patch) | |
tree | d92b57747699b2f9c476e8d6bb44f305813d2863 /clang/lib/CodeGen | |
parent | 1c792d24e0a228ad49cc004a1c26bbd7cd87f030 (diff) | |
download | llvm-0be9592b0077dc63596ce46379cf7b3bd4a405c8.zip llvm-0be9592b0077dc63596ce46379cf7b3bd4a405c8.tar.gz llvm-0be9592b0077dc63596ce46379cf7b3bd4a405c8.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions