This is an archive of the discontinued LLVM Phabricator instance.

[clang] fix crash on template instantiation of invalid requires expressions
ClosedPublic

Authored by mizvekov on Aug 3 2021, 1:19 PM.

Details

Summary

See PR48656.

The implementation of the template instantiation of requires expressions
was incorrectly trying to get the expression from an 'ExprRequirement'
before checking if it was an error state.

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>

Diff Detail

Event Timeline

mizvekov created this revision.Aug 3 2021, 1:19 PM
mizvekov published this revision for review.Aug 3 2021, 1:57 PM
mizvekov added a reviewer: rsmith.
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2021, 1:57 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
mizvekov edited the summary of this revision. (Show Details)Aug 3 2021, 1:57 PM
rsmith accepted this revision.Aug 3 2021, 2:02 PM
This revision is now accepted and ready to land.Aug 3 2021, 2:02 PM
This revision was landed with ongoing or failed builds.Aug 3 2021, 2:16 PM
This revision was automatically updated to reflect the committed changes.