[PATCH] D82314: [RFC][Coroutines] Optimize the lifespan of temporary co_await object

JunMa via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 22 18:17:36 PDT 2020


junparser added a comment.

Rather than doing it here, can we build await_resume call expression with MaterializedTemporaryExpr when expand the coawait expression. That's how gcc does.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82314/new/

https://reviews.llvm.org/D82314





More information about the cfe-commits mailing list