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().
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Seems like this bot is not happy about this change: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/3771
Maybe add a test for this in SemaCXX/coroutines.cpp?