llvm-project/clang/test/CodeGenCoroutines
Gor Nishanov 3aa9eb38a0 [coroutines] Handle get_return_object_on_allocation_failure
Summary:
If promise_type has get_return_object_on_allocation_failure defined,
check if an allocation function returns nullptr, and if so,
return the result of get_return_object_on_allocation_failure().

Reviewers: rsmith, EricWF

Reviewed By: EricWF

Subscribers: mehdi_amini, cfe-commits

Differential Revision: https://reviews.llvm.org/D31399

llvm-svn: 298891
2017-03-27 23:36:59 +00:00
..
coro-alloc.cpp [coroutines] Handle get_return_object_on_allocation_failure 2017-03-27 23:36:59 +00:00
coro-await.cpp [coroutines] Add codegen for await and yield expressions 2017-03-26 02:18:05 +00:00
coro-builtins-err.c [coroutines] Adding builtins for coroutine intrinsics and backendutil support. 2016-10-03 22:44:48 +00:00
coro-builtins.c [coroutines] update coro_end builtin to match llvm 2017-03-07 21:01:08 +00:00
coro-return.cpp [coroutines] Build and pass coroutine_handle to await_suspend 2017-03-09 03:09:43 +00:00
microsoft-abi-operator-coawait.cpp