This is an archive of the discontinued LLVM Phabricator instance.

[docs] Give the reason why the support for coroutine is partial
ClosedPublic

Authored by ChuanqiXu on Dec 14 2021, 6:23 PM.

Details

Summary

See https://lists.llvm.org/pipermail/cfe-dev/2021-December/069608.html. We couldn't mark coroutine as done now due to there to critical bugs. And as Aaron suggests, it would be better to give the reason in the docs.

Diff Detail

Event Timeline

ChuanqiXu requested review of this revision.Dec 14 2021, 6:23 PM
ChuanqiXu created this revision.

Thanks for this!

clang/www/cxx_status.html
1202–1208

Rather than following this approach, it'd be nice to have the information provided directly inline, as done in: https://github.com/llvm/llvm-project/blob/main/clang/www/cxx_status.html#L916

1273–1276

Also, when moving it to be a detail of the current row, I'd drop the (12): from the text.

I think we should also add some words to the effect of "This feature was implemented based on the Coroutines TS and requires further analysis to determine what support remains to be added." This should hopefully make it clear that the list of issues found is not exhaustive and that investigative work is still needed.

ChuanqiXu updated this revision to Diff 394527.Dec 15 2021, 4:38 AM

Address comments.

ChuanqiXu added inline comments.Dec 15 2021, 4:41 AM
clang/www/cxx_status.html
1273–1276

The current implementation have some minor differences with coroutines TS already. So I chose the wording Richard gives in the mailing list. I think it is proper.

aaron.ballman accepted this revision.Dec 15 2021, 4:45 AM

LGTM aside from a minor wording fix. Thank you for this!

clang/www/cxx_status.html
1206–1207

Fixes typo and grammar but hopefully gets the same point across.

This revision is now accepted and ready to land.Dec 15 2021, 4:45 AM
ChuanqiXu updated this revision to Diff 394529.Dec 15 2021, 4:56 AM

Address comments. Thanks for reviewing.

This revision was landed with ongoing or failed builds.Dec 15 2021, 5:02 AM
This revision was automatically updated to reflect the committed changes.