Page MenuHomePhabricator

[coroutines] Make generic lambda coroutines work
ClosedPublic

Authored by GorNishanov on May 24 2017, 8:30 AM.

Details

Summary
  1. Coroutine cannot be constexpr (added a check in SemaLambda.cpp not to mark coroutine as constexpr)
  2. TransformCoroutineBodyStmt should transform ResultDecl and ReturnStmt

Diff Detail

Repository
rL LLVM

Event Timeline

GorNishanov created this revision.May 24 2017, 8:30 AM
This revision is now accepted and ready to land.May 24 2017, 8:31 AM
This revision was automatically updated to reflect the committed changes.