[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
Wed Apr 12 18:40:57 PDT 2017


EricWF updated this revision to Diff 95074.
EricWF added a comment.
This revision is now accepted and ready to land.

- Add call to `MarkDeclRefReferenced` even though it doesn't prevent the assertion.


https://reviews.llvm.org/D31562

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/CoroutineBuilder.h
  lib/Sema/SemaCoroutine.cpp
  test/CodeGenCoroutines/coro-alloc.cpp
  test/SemaCXX/coroutines.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31562.95074.patch
Type: text/x-patch
Size: 12528 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170413/7b631066/attachment-0001.bin>


More information about the cfe-commits mailing list