See PR51872 for the original repro.
This fixes a crash when converting a templated constructor into a deduction
guide, in case any of the template parameters were invalid.
Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
Paths
| Differential D110460
[clang] set templates as invalid when any of the parameters are invalid ClosedPublic Authored by mizvekov on Sep 24 2021, 5:09 PM.
Details Summary See PR51872 for the original repro. This fixes a crash when converting a templated constructor into a deduction Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 24 2021, 6:51 PM This revision was landed with ongoing or failed builds.Sep 24 2021, 7:04 PM Closed by commit rG37adc4f957c2: [clang] set templates as invalid when any of the parameters are invalid (authored by mizvekov). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 375006 clang/lib/AST/DeclTemplate.cpp
clang/test/SemaTemplate/deduction-crash.cpp
|