See PR48593.
Constraints with invalid type parameters were causing a null pointer
dereference.
Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
Paths
| Differential D98095
[clang] Fix ICE on invalid type parameters for concepts ClosedPublic Authored by mizvekov on Mar 5 2021, 6:12 PM.
Details Summary See PR48593. Constraints with invalid type parameters were causing a null pointer Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
Diff Detail
Event Timelinemizvekov removed a parent revision: D98087: [clang] Fix constrained decltype(auto) deduction.Mar 7 2021, 1:02 PM
Comment Actions Addressed rsmith's concerns. This revision is now accepted and ready to land.Mar 12 2021, 1:50 PM Closed by commit rGd4a8c7359b57: [clang] Fix ICE on invalid type parameters for concepts (authored by mizvekov). · Explain WhyMar 12 2021, 4:23 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 329149 clang/lib/Sema/SemaType.cpp
clang/test/CXX/dcl/dcl.spec/dcl.type/dcl.spec.auto/p6.cpp
|
Minor style nits: reduce scope of TemplateId variable and consistently brace the else if and only if the if is braced.