This is an archive of the discontinued LLVM Phabricator instance.

Fix crash in constraining partial specialization on nested template.
ClosedPublic

Authored by usaxena95 on Oct 19 2022, 7:51 AM.

Diff Detail

Event Timeline

usaxena95 created this revision.Oct 19 2022, 7:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 19 2022, 7:51 AM
usaxena95 requested review of this revision.Oct 19 2022, 7:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 19 2022, 7:51 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
usaxena95 updated this revision to Diff 468925.Oct 19 2022, 8:24 AM

Added test.

ilya-biryukov added inline comments.Oct 19 2022, 8:41 AM
clang/lib/Sema/SemaTemplateDeduction.cpp
5807–5810

NIT: maybe keep a single if statement and use dyn_cast_or_null?

clang/test/SemaTemplate/concepts-GH53354.cpp
19 ↗(On Diff #468925)

why not && true!?

usaxena95 marked 2 inline comments as done.

Addressed comments.

ilya-biryukov accepted this revision.Oct 20 2022, 1:20 AM

LGTM, thanks!

This revision is now accepted and ready to land.Oct 20 2022, 1:20 AM
This revision was landed with ongoing or failed builds.Oct 20 2022, 1:46 AM
This revision was automatically updated to reflect the committed changes.