[PATCH] D31562: [coroutines] Fix building of new/delete expressions when get_return_object_on_allocation_failure() is present.
Eric Fiselier via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 3 14:08:33 PDT 2017
EricWF planned changes to this revision.
EricWF added a comment.
This patch currently triggers an assertion in `SemaDecl.cpp:12290` `assert(MaybeODRUseExprs.empty() && "Leftover expressions for odr-use checking");`
I'll have to come up with a fix for that before this is committed. Unfortunately the easy fix of calling `MakeVarDeclReferenced` or similar doesn't work. I suspect this is due to the current active scope when `ActOnFinishFunctionBody` is called.
https://reviews.llvm.org/D31562
More information about the cfe-commits
mailing list