This is an archive of the discontinued LLVM Phabricator instance.

[clang][dataflow] Allow MatchSwitch to return a value
ClosedPublic

Authored by samestep on Jun 24 2022, 7:31 AM.

Details

Summary

Reland of D128467. This version replaces return {}; with return Result();, since the former failed on GCC with Result = void.

Diff Detail

Event Timeline

samestep created this revision.Jun 24 2022, 7:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 24 2022, 7:31 AM
samestep requested review of this revision.Jun 24 2022, 7:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 24 2022, 7:31 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
gribozavr2 accepted this revision.Jun 24 2022, 7:33 AM
This revision is now accepted and ready to land.Jun 24 2022, 7:33 AM
This revision was landed with ongoing or failed builds.Jun 24 2022, 7:38 AM
This revision was automatically updated to reflect the committed changes.