This is an archive of the discontinued LLVM Phabricator instance.

[clang] co_return cleanup
ClosedPublic

Authored by urnathan on May 13 2022, 6:07 AM.

Details

Summary

There's no need for the CoreturnStmt getChildren member to
deal with the presence or absence of the operand member. All
users already deal with null children.

Diff Detail

Event Timeline

urnathan created this revision.May 13 2022, 6:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 13 2022, 6:07 AM
Herald added a subscriber: StephenFan. · View Herald Transcript
urnathan requested review of this revision.May 13 2022, 6:07 AM
MaskRay accepted this revision.May 13 2022, 11:04 PM

LGTM. (I need to learn this stuff but I'm happy since bots are happy:))

This revision is now accepted and ready to land.May 13 2022, 11:04 PM
urnathan edited the summary of this revision. (Show Details)May 17 2022, 12:00 PM
This revision was landed with ongoing or failed builds.Jun 8 2022, 8:09 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 8 2022, 8:09 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript