The title says it all.
Details
Details
- Reviewers
GorNishanov rsmith - Commits
- rGcddaf8728fd2: [coroutines] Allow co_await and co_yield expressions that return an lvalue to…
rC305496: [coroutines] Allow co_await and co_yield expressions that return an lvalue to…
rL305496: [coroutines] Allow co_await and co_yield expressions that return an lvalue to…
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM
test/CodeGenCoroutines/coro-await.cpp | ||
---|---|---|
301 | s/chrash/crash |
lib/CodeGen/CGCoroutine.cpp | ||
---|---|---|
256 | #ifndef NDEBUG |
Comment Actions
Added John McCall as he made great suggestions last time I touched emitSuspendExpression
test/CodeGenCoroutines/coro-await.cpp | ||
---|---|---|
310 | In release compiler, labels won't have friendly names. //CHECK: await2.ready will fail |
test/CodeGenCoroutines/coro-await.cpp | ||
---|---|---|
310 | I'm not sure I understand. Are you saying that Clang generates different IR depending on how it's built (ie release vs debug)? |
#ifndef NDEBUG
...
#endif