- build declaration of the gro local variable that keeps the result of get_return_object.
- build return statement returning the gro variable
- emit them during CodeGen
- sema and CodeGen tests updated
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Gentle ping. When all outstanding CRs are committed we will get 90% of working corouitnes in Clang!!!!
Comment Actions
LGTM
lib/Sema/AnalysisBasedWarnings.cpp | ||
---|---|---|
338 ↗ | (On Diff #94005) | the -> a |
lib/Sema/SemaCoroutine.cpp | ||
1079–1083 ↗ | (On Diff #94005) | I'm not sure you need this FIXME; using BuildReturnStmt here instead of ActOnReturnStmt to skip the checks that we apply to parsed return statements but not instantiated return statements seems appropriate to me, so there's probably nothing to fix. |
Comment Actions
Thank you very much for the review!
Merged with top of the trunk, implemented suggested changes, preparing to land